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