1 error[E0277]: `T` doesn't implement `Debug`
2 --> $DIR/generic_duplicate_param_use3.rs:11:5
5 | ^ `T` cannot be formatted using `{:?}` because it doesn't implement `Debug`
7 help: consider restricting type parameter `T`
9 LL | type Two<T: std::fmt::Debug, U> = impl Debug;
12 error[E0277]: `U` doesn't implement `Debug`
13 --> $DIR/generic_duplicate_param_use3.rs:16:5
16 | ^ `U` cannot be formatted using `{:?}` because it doesn't implement `Debug`
18 help: consider restricting type parameter `U`
20 LL | type Two<T, U: std::fmt::Debug> = impl Debug;
23 error: aborting due to 2 previous errors
25 For more information about this error, try `rustc --explain E0277`.