You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Trait aliases considers same type as not equal to itself if used in impl Trait return type #57612
changed the title [-]Trait aliases in existential types considers same type as more general[/-][+]Trait aliases considers same type as not equal to itself if used in `impl Trait` return type[/+]on Feb 18, 2021
Activity
oli-obk commentedon Mar 18, 2019
Reduced example
[-]Trait aliases in existential types considers same type as more general[/-][+]Trait aliases considers same type as not equal to itself if used in `impl Trait` return type[/+]plazmoid commentedon Aug 31, 2022
Not a bug anymore, Oli's example compiles now (with fixing some lifetime issues):
Interestingly that moving HRTB into trait alias doesn't solve the lifetimes issue