]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lint/warn-path-statement.stderr
Auto merge of #106349 - LeSeulArtichaut:dyn-star-tracking-issue, r=jackh726
[rust.git] / src / test / ui / lint / warn-path-statement.stderr
1 error: path statement with no effect
2   --> $DIR/warn-path-statement.rs:10:5
3    |
4 LL |     x;
5    |     ^^
6    |
7    = note: requested on the command line with `-D path-statements`
8
9 error: path statement drops value
10   --> $DIR/warn-path-statement.rs:13:5
11    |
12 LL |     y;
13    |     ^^ help: use `drop` to clarify the intent: `drop(y);`
14
15 error: path statement drops value
16   --> $DIR/warn-path-statement.rs:16:5
17    |
18 LL |     z;
19    |     ^^ help: use `drop` to clarify the intent: `drop(z);`
20
21 error: aborting due to 3 previous errors
22