1 #![feature(type_alias_impl_trait)]
7 type Two<T, U> = impl Debug;
9 fn two<T: Debug, U: Debug>(t: T, _: U) -> Two<T, U> {
11 //~^ ERROR `T` doesn't implement `Debug`
14 fn three<T: Debug, U: Debug>(_: T, u: U) -> Two<T, U> {
16 //~^ ERROR `U` doesn't implement `Debug`