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
6 type Foo = impl Fn() -> Foo;
7 //~^ ERROR: could not find defining uses
9 fn crash(x: Foo) -> Foo {