1 error: at least one trait must be specified
2 --> $DIR/generic_not_used.rs:8:33
4 LL | type WrongGeneric<T: 'static> = impl 'static;
7 error: type parameter `V` is part of concrete type but not used in parameter list for the `impl Trait` type alias
8 --> $DIR/generic_not_used.rs:11:73
10 LL | fn wrong_generic<U: 'static, V: 'static>(_: U, v: V) -> WrongGeneric<U> {
11 | _________________________________________________________________________^
17 error: aborting due to 2 previous errors