Fix trait_ref_to_existential
as trait aliases is stabilized
#66420
Labels
A-dyn-compatibility
Area: Dyn compatibility (formerly: object safety)
A-dyn-trait
Area: trait objects, vtable layout
C-bug
Category: This is a bug.
F-trait_alias
`#![feature(trait_alias)]`
requires-nightly
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-types
Relevant to the types team, which will review and decide on the PR/issue.
#66392 (comment)
There appears to be a missing filter on top of
expand_trait_aliases
, which picks up non-supertraits where clauses - but also, the object safety completely ignores trait aliases, which could be object safety hazards. We now usedelay_span_bug
there to avoid an ICE in stable even when the feature is disabled.The text was updated successfully, but these errors were encountered: