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 warning: the feature `type_alias_impl_trait` is incomplete and may not be safe to use and/or cause compiler crashes
8 --> $DIR/generic_not_used.rs:3:32
10 LL | #![cfg_attr(full_tait, feature(type_alias_impl_trait))]
11 | ^^^^^^^^^^^^^^^^^^^^^
13 = note: `#[warn(incomplete_features)]` on by default
14 = note: see issue #63063 <https://github.com/rust-lang/rust/issues/63063> for more information
16 error: type parameter `V` is part of concrete type but not used in parameter list for the `impl Trait` type alias
17 --> $DIR/generic_not_used.rs:11:73
19 LL | fn wrong_generic<U: 'static, V: 'static>(_: U, v: V) -> WrongGeneric<U> {
20 | _________________________________________________________________________^
26 error: aborting due to 2 previous errors; 1 warning emitted