2017-07-27 04:51:09 +00:00
|
|
|
warning: unused variable: `theOtherTwo`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/issue-24690.rs:13:9
|
2016-10-27 06:07:38 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | let theOtherTwo = 2;
|
2020-03-23 08:02:46 +00:00
|
|
|
| ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_theOtherTwo`
|
2016-10-27 06:07:38 +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-24690.rs:8:9
|
2016-10-27 06:07:38 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | #![warn(unused)]
|
2017-07-27 04:51:09 +00:00
|
|
|
| ^^^^^^
|
2019-07-16 20:17:38 +00:00
|
|
|
= note: `#[warn(unused_variables)]` implied by `#[warn(unused)]`
|
2016-10-27 06:07:38 +00:00
|
|
|
|
2019-01-04 15:19:52 +00:00
|
|
|
warning: variable `theTwo` should have a snake case name
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/issue-24690.rs:12:9
|
2016-10-27 06:07:38 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | let theTwo = 2;
|
2019-01-04 15:19:52 +00:00
|
|
|
| ^^^^^^ help: convert the identifier to snake case: `the_two`
|
2017-07-27 04:51:09 +00:00
|
|
|
|
|
2019-07-16 20:17:38 +00:00
|
|
|
= note: `#[warn(non_snake_case)]` on by default
|
2016-10-27 06:07:38 +00:00
|
|
|
|
2019-01-04 15:19:52 +00:00
|
|
|
warning: variable `theOtherTwo` should have a snake case name
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/issue-24690.rs:13:9
|
2017-01-06 23:51:16 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | let theOtherTwo = 2;
|
2019-01-04 15:19:52 +00:00
|
|
|
| ^^^^^^^^^^^ help: convert the identifier to snake case: `the_other_two`
|
2017-01-06 23:51:16 +00:00
|
|
|
|
2020-03-11 15:30:09 +00:00
|
|
|
warning: 3 warnings emitted
|
|
|
|
|