Skip to content

tech-debt: remaining UnsafeBinder todo!/FIXME cluster (const_eval, mangling, rustc_public) #567

Description

@SebTardif

Scope

PR for #525 addresses ICE-prone paths in pointer_kind, ptr_metadata_ty_or_tail, and trait projection for DiscriminantKind/Pointee.

Still open (grep FIXME(unsafe_binder) / todo! on UnsafeBinder):

Area File
const_eval validity compiler/rustc_const_eval/src/interpret/validity.rs
symbol mangling v0 compiler/rustc_symbol_mangling/src/v0.rs
rustc_public stable convert compiler/rustc_public/src/unstable/convert/stable/ty.rs (+ mir Wrap/Unwrap)
trait select notes compiler/rustc_trait_selection/src/traits/select/mod.rs, candidate_assembly.rs
normalizes_to pointee compiler/rustc_next_trait_solver/src/solve/normalizes_to.rs
ty_utils consts compiler/rustc_ty_utils/src/consts.rs

Track incremental removal as the unsafe_binder feature stabilizes paths. Not blocking normal compilation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions