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