1 // ignore-compare-mode-chalk
2 // revisions: min_tait full_tait
3 #![feature(min_type_alias_impl_trait)]
4 #![cfg_attr(full_tait, feature(type_alias_impl_trait))]
5 //[full_tait]~^ WARN incomplete
10 fn foo<T>() -> Self::E;
16 fn foo<T>() -> Self::E {
17 //~^ ERROR type parameter `T` is part of concrete type but not used in parameter list for the `impl Trait` type alias