rust/tests/ui/issues/issue-17999.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
529 B
Plaintext
Raw Normal View History

2018-07-15 21:11:54 +00:00
error: unused variable: `x`
2018-12-25 15:56:47 +00:00
--> $DIR/issue-17999.rs:5:13
2018-07-15 21:11:54 +00:00
|
2019-03-09 12:03:44 +00:00
LL | let x = ();
2020-03-23 08:02:46 +00:00
| ^ help: if this is intentional, prefix it with an underscore: `_x`
2018-07-15 21:11:54 +00:00
|
2020-01-22 23:57:38 +00:00
note: the lint level is defined here
2018-12-25 15:56:47 +00:00
--> $DIR/issue-17999.rs:1:9
2018-07-15 21:11:54 +00:00
|
LL | #![deny(unused_variables)]
| ^^^^^^^^^^^^^^^^
error: unused variable: `a`
2018-12-25 15:56:47 +00:00
--> $DIR/issue-17999.rs:7:13
2018-07-15 21:11:54 +00:00
|
2019-03-09 12:03:44 +00:00
LL | a => {}
2020-03-23 08:02:46 +00:00
| ^ help: if this is intentional, prefix it with an underscore: `_a`
2018-07-15 21:11:54 +00:00
error: aborting due to 2 previous errors