Check for dyn
providing all of its projections is incomplete w.r.t. different supertrait substitutions
#133388
Labels
A-trait-objects
Area: trait objects, vtable layout
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-types
Relevant to the types team, which will review and decide on the PR/issue.
I tried this code:
I expected to see this happen: It errors b/c we don't know what the associated type for
<dyn Dyn<i32, u32> as Sup<u32>>::Assoc
is.Instead, this happened: Codegen ICE.
Meta
rustc --version --verbose
:Backtrace
The text was updated successfully, but these errors were encountered: