blob: 62741a7454ceed320f3f28237e2d03dffec89138 [file] [log] [blame] [edit]
//@ check-pass
trait T {}
fn wrap(x: impl T) -> impl T {
//~^ WARN function cannot return without recursing
wrap(wrap(x))
}
fn main() {}