1 error[E0277]: the trait bound `A: Foo` is not satisfied
2 --> $DIR/generic_duplicate_param_use9.rs:15:5
5 | ^^^^^^^^^^^^^^ the trait `Foo` is not implemented for `A`
7 help: consider restricting type parameter `A`
9 LL | type Two<A: Foo, B> = impl Debug;
12 error[E0277]: `A` doesn't implement `Debug`
13 --> $DIR/generic_duplicate_param_use9.rs:15:5
16 | ^^^^^^^^^^^^^^ `A` cannot be formatted using `{:?}` because it doesn't implement `Debug`
18 = note: required for `(A, B, _)` to implement `Debug`
19 help: consider restricting type parameter `A`
21 LL | type Two<A: std::fmt::Debug, B> = impl Debug;
24 error[E0277]: `B` doesn't implement `Debug`
25 --> $DIR/generic_duplicate_param_use9.rs:15:5
28 | ^^^^^^^^^^^^^^ `B` cannot be formatted using `{:?}` because it doesn't implement `Debug`
30 = note: required for `(A, B, _)` to implement `Debug`
31 help: consider restricting type parameter `B`
33 LL | type Two<A, B: std::fmt::Debug> = impl Debug;
36 error[E0277]: `A` doesn't implement `Debug`
37 --> $DIR/generic_duplicate_param_use9.rs:22:5
40 | ^^^^^^^^^^ `A` cannot be formatted using `{:?}` because it doesn't implement `Debug`
42 = note: required for `(A, B, i32)` to implement `Debug`
43 help: consider restricting type parameter `A`
45 LL | type Two<A: std::fmt::Debug, B> = impl Debug;
48 error[E0277]: `B` doesn't implement `Debug`
49 --> $DIR/generic_duplicate_param_use9.rs:22:5
52 | ^^^^^^^^^^ `B` cannot be formatted using `{:?}` because it doesn't implement `Debug`
54 = note: required for `(A, B, i32)` to implement `Debug`
55 help: consider restricting type parameter `B`
57 LL | type Two<A, B: std::fmt::Debug> = impl Debug;
60 error: aborting due to 5 previous errors
62 For more information about this error, try `rustc --explain E0277`.