// check-pass // compile-flags: -Ztrait-solver=next // regression test for trait-system-refactor-initiative#68 trait Identity { type Assoc: ?Sized; } impl Identity for T { type Assoc = T; } type Id = ::Assoc; type Five = Id>>>>; type Ty = Five>>>>; trait Trait {} impl Trait for Ty {} impl Trait for Ty {} fn main() {}