1 #![feature(type_alias_impl_trait)]
7 // test that unused generic parameters are ok
8 type Two<T, U> = impl Debug;
10 fn one<T: Debug>(t: T) -> Two<T, T> {
11 //~^ ERROR non-defining opaque type use in defining scope
15 fn two<T: Debug, U>(t: T, _: U) -> Two<T, U> {