1 warning: unused variable: `item`
2 --> $DIR/unboxed-closures-counter-not-moved.rs:15:13
5 | ^^^^ help: if this is intentional, prefix it with an underscore: `_item`
7 = note: `#[warn(unused_variables)]` on by default
9 warning: value assigned to `counter` is never read
10 --> $DIR/unboxed-closures-counter-not-moved.rs:24:9
15 = help: maybe it is overwritten before being read?
16 = note: `#[warn(unused_assignments)]` on by default
18 warning: unused variable: `counter`
19 --> $DIR/unboxed-closures-counter-not-moved.rs:24:9
24 = help: did you mean to capture by reference instead?
26 warning: 3 warnings emitted