// Alias might not cover type parameters. //@ revisions: classic next //@[next] compile-flags: -Znext-solver //@ aux-crate:foreign=parametrized-trait.rs //@ edition:2021 //@ known-bug: #99554 //@ check-pass trait Id { type Assoc; } impl Id for T { type Assoc = T; } pub struct B; impl foreign::Trait2 for ::Assoc { type Assoc = usize; } fn main() {}