fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1warning: function cannot return without recursing 2 --> $DIR/issue-103599.rs:5:1 3 | 4LL | fn wrap(x: impl T) -> impl T { 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot return without recursing 6LL | 7LL | wrap(wrap(x)) 8 | ------- recursive call site 9 | 10 = help: a `loop` may express intention better if this is on purpose 11 = note: `#[warn(unconditional_recursion)]` on by default 12 13warning: 1 warning emitted 14