trait alias dyn
type equality doesn't work
#55629
Labels
A-trait-system
Area: Trait system
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
If you have
trait Foo { }
andtrait Bar = Foo
, we do not currently considerdyn Foo
anddyn Bar
to be the same type.Subissue of #55628
The text was updated successfully, but these errors were encountered: