1 #![feature(type_alias_impl_trait)]
7 // test that unused generic parameters are ok
8 type Two<T, U> = impl Debug;
9 //~^ ERROR `T` doesn't implement `Debug`
10 //~| ERROR `U` doesn't implement `Debug`
12 fn two<T: Debug, U: Debug>(t: T, u: U) -> Two<T, U> {
16 fn three<T: Debug, U: Debug>(t: T, u: U) -> Two<T, U> {
17 //~^ concrete type differs from previous