1 #![feature(type_alias_impl_trait)]
7 // test that unused generic parameters are ok
8 type Two<T, U> = impl Debug;
10 fn two<T: Debug, U: Debug>(t: T, u: U) -> Two<T, U> {
14 fn three<T: Debug, U: Debug>(t: T, u: U) -> Two<T, U> {
15 //~^ concrete type differs from previous