1 2 3 4 5 6 7 8
pub trait Trait { type A; } pub type Alias = dyn Trait<A = Self::A>; //~^ ERROR failed to resolve: `Self` fn main() {}