fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
482 B19 linesraw
1warning: unused variable: `x`
2  --> $DIR/unboxed-closures-move-mutable.rs:17:17
3   |
4LL |         move || x += 1;
5   |                 ^
6   |
7   = help: did you mean to capture by reference instead?
8   = note: `#[warn(unused_variables)]` on by default
9
10warning: unused variable: `x`
11  --> $DIR/unboxed-closures-move-mutable.rs:21:17
12   |
13LL |         move || x += 1;
14   |                 ^
15   |
16   = help: did you mean to capture by reference instead?
17
18warning: 2 warnings emitted
19