1 error[E0277]: `T` doesn't implement `Debug`
2 --> $DIR/generic_duplicate_param_use5.rs:11:5
5 | ^^^^^^ `T` cannot be formatted using `{:?}` because it doesn't implement `Debug`
7 = note: required for `(T, U)` to implement `Debug`
8 help: consider restricting type parameter `T`
10 LL | type Two<T: std::fmt::Debug, U> = impl Debug;
13 error[E0277]: `U` doesn't implement `Debug`
14 --> $DIR/generic_duplicate_param_use5.rs:11:5
17 | ^^^^^^ `U` cannot be formatted using `{:?}` because it doesn't implement `Debug`
19 = note: required for `(T, U)` to implement `Debug`
20 help: consider restricting type parameter `U`
22 LL | type Two<T, U: std::fmt::Debug> = impl Debug;
25 error[E0277]: `U` doesn't implement `Debug`
26 --> $DIR/generic_duplicate_param_use5.rs:17:5
29 | ^^^^^^ `U` cannot be formatted using `{:?}` because it doesn't implement `Debug`
31 = note: required for `(U, T)` to implement `Debug`
32 help: consider restricting type parameter `U`
34 LL | type Two<T, U: std::fmt::Debug> = impl Debug;
37 error[E0277]: `T` doesn't implement `Debug`
38 --> $DIR/generic_duplicate_param_use5.rs:17:5
41 | ^^^^^^ `T` cannot be formatted using `{:?}` because it doesn't implement `Debug`
43 = note: required for `(U, T)` to implement `Debug`
44 help: consider restricting type parameter `T`
46 LL | type Two<T: std::fmt::Debug, U> = impl Debug;
49 error: aborting due to 4 previous errors
51 For more information about this error, try `rustc --explain E0277`.