1 // revisions: min_tait full_tait
2 #![feature(min_type_alias_impl_trait)]
3 #![cfg_attr(full_tait, feature(type_alias_impl_trait))]
4 //[full_tait]~^ WARN incomplete
8 type WrongGeneric<T: 'static> = impl 'static;
9 //~^ ERROR: at least one trait must be specified
11 fn wrong_generic<U: 'static, V: 'static>(_: U, v: V) -> WrongGeneric<U> {
12 //~^ ERROR type parameter `V` is part of concrete type but not used in parameter list