]>
Commit | Line | Data |
---|---|---|
6a06907d XL |
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 | |
416331ca XL |
5 | |
6 | type Foo = impl Fn() -> Foo; | |
7 | //~^ ERROR: could not find defining uses | |
8 | ||
9 | fn crash(x: Foo) -> Foo { | |
10 | x | |
11 | } | |
12 | ||
13 | fn main() { | |
14 | ||
15 | } |