1 error[E0792]: expected generic type parameter, found `u32`
2 --> $DIR/generic_nondefining_use.rs:16:5
4 LL | type OneTy<T> = impl Debug;
5 | - this generic parameter must be used with a generic type parameter
10 error[E0792]: expected generic lifetime parameter, found `'static`
11 --> $DIR/generic_nondefining_use.rs:21:5
13 LL | type OneLifetime<'a> = impl Debug;
14 | -- cannot use static lifetime; use a bound lifetime instead or remove the lifetime parameter from the opaque type
19 error[E0792]: expected generic constant parameter, found `123`
20 --> $DIR/generic_nondefining_use.rs:26:5
22 LL | type OneConst<const X: usize> = impl Debug;
23 | -------------- this generic parameter must be used with a generic constant parameter
28 error: aborting due to 3 previous errors
30 For more information about this error, try `rustc --explain E0792`.