blob: c009952eab75051197e6698707e3e6d57120f40c [file] [log] [blame]
#![feature(type_alias_impl_trait)]
type Foo = impl Fn() -> Foo;
//~^ ERROR: could not find defining uses
fn crash(x: Foo) -> Foo {
x
}
fn main() {
}