blob: 4a11bb5020e6d21aa3a0da8725a843b5b4684f9b [file] [log] [blame]
#![feature(type_alias_impl_trait)]
type Foo = impl Fn() -> Foo;
fn foo() -> Foo {
//~^ ERROR: overflow evaluating the requirement
foo
}
fn main() {}