1 // ignore-tidy-linelength
2 // ignore-compare-mode-chalk
3 #![feature(type_alias_impl_trait)]
8 fn foo<T>() -> Self::E;
14 fn foo<T>() -> Self::E {
15 //~^ ERROR type parameter `T` is part of concrete type but not used in parameter list for the `impl Trait` type alias