Skip to content

rustc_public: ty::UnsafeBinder todo! in stable type convert #585

Description

@SebTardif

Bug

compiler/rustc_public/src/unstable/convert/stable/ty.rs hits todo!() for ty::UnsafeBinder(_).

(CoroutineClosure was a separate todo in the same match; fixed in the same PR as a sibling arm.)

Origin

rust-lang@9a1c5eb5b38

Impact

ICE when rustc_public/SMIR stabilizes any type involving UnsafeBinder (feature-gated; part of #567). Overlaps #575 for the CoroutineClosure arm.

Fix

Lower UnsafeBinder via erased inner type (no dedicated RigidTy variant yet; transparent representation consistent with other ty queries).

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