//@ revisions: current next //@ ignore-compare-mode-next-solver (explicit revisions) //@[next] compile-flags: -Znext-solver //@ check-pass #![feature(specialization)] //~^ WARN the feature `specialization` is incomplete trait WithAssoc: 'static { type Assoc; } impl WithAssoc for (T,) { type Assoc = (); } struct GenericArray(U::Assoc); trait AbiExample { fn example(); } impl AbiExample for GenericArray { fn example() {} } impl AbiExample for T { default fn example() {} } fn main() { let _ = GenericArray::<((),)>::example(); }