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 // two definitions with different types
9 type Foo = impl std::fmt::Debug;
15 fn bar() -> Foo { //~ ERROR concrete type differs from previous