fork/rust

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

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

master
528 B22 linesraw
1error: path statement with no effect
2  --> $DIR/warn-path-statement.rs:10:5
3   |
4LL |     x;
5   |     ^^
6   |
7   = note: requested on the command line with `-D path-statements`
8
9error: path statement drops value
10  --> $DIR/warn-path-statement.rs:13:5
11   |
12LL |     y;
13   |     ^^ help: use `drop` to clarify the intent: `drop(y);`
14
15error: path statement drops value
16  --> $DIR/warn-path-statement.rs:16:5
17   |
18LL |     z;
19   |     ^^ help: use `drop` to clarify the intent: `drop(z);`
20
21error: aborting due to 3 previous errors
22