1 #![feature(type_alias_impl_trait)]
5 type WrongGeneric<T: 'static> = impl 'static;
6 //~^ ERROR: at least one trait must be specified
8 fn wrong_generic<U: 'static, V: 'static>(_: U, v: V) -> WrongGeneric<U> {
10 //~^ ERROR type parameter `V` is part of concrete type but not used in parameter list