1 #![feature(type_alias_impl_trait)]
7 type Two<A, B> = impl Debug;
8 //~^ ERROR the trait bound `A: Foo` is not satisfied
9 //~| ERROR `A` doesn't implement `Debug`
10 //~| ERROR `B` doesn't implement `Debug`
17 fn two<T: Debug + Foo, U: Debug>(t: T, u: U) -> Two<T, U> {
21 fn three<T: Debug, U: Debug>(t: T, u: U) -> Two<T, U> {
22 (t, u, 42) //~ ERROR concrete type differs from previous