We still don't resolve x.
type Alias<T> = T;
trait Trait<T> {
type Assoc;
}
struct Foo;
struct Bar {
x: i32,
}
impl Trait<()> for Foo {
type Assoc = Bar;
}
fn main() {
Alias::<<Foo as Trait<_>>::Assoc> { x: 10 };
}
Originally posted by @lnicola in #17651 (comment)
Originally posted by @lnicola in #17651 (comment)