blob: e674ce3cbdf8f3f1d1749cf49f4013ec956f3f8b [file] [log] [blame]
trait T {}
fn wrap(x: impl T) -> impl T {
//~^ ERROR cannot resolve opaque type
//~| WARN function cannot return without recursing
wrap(wrap(x))
}
fn main() {}