2017-07-26 21:51:09 -07:00
|
|
|
warning: unused variable: `theOtherTwo`
|
|
|
|
--> $DIR/issue-24690.rs:23:9
|
2016-10-26 23:07:38 -07:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | let theOtherTwo = 2; //~ WARN should have a snake case name
|
2018-01-31 20:56:01 -08:00
|
|
|
| ^^^^^^^^^^^ help: consider using `_theOtherTwo` instead
|
2016-10-26 23:07:38 -07:00
|
|
|
|
|
|
|
|
note: lint level defined here
|
2017-07-26 21:51:09 -07:00
|
|
|
--> $DIR/issue-24690.rs:18:9
|
2016-10-26 23:07:38 -07:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | #![warn(unused)]
|
2017-07-26 21:51:09 -07:00
|
|
|
| ^^^^^^
|
|
|
|
= note: #[warn(unused_variables)] implied by #[warn(unused)]
|
2016-10-26 23:07:38 -07:00
|
|
|
|
2017-07-26 21:51:09 -07:00
|
|
|
warning: variable `theTwo` should have a snake case name such as `the_two`
|
|
|
|
--> $DIR/issue-24690.rs:22:9
|
2016-10-26 23:07:38 -07:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | let theTwo = 2; //~ WARN should have a snake case name
|
2017-07-26 21:51:09 -07:00
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
|
= note: #[warn(non_snake_case)] on by default
|
2016-10-26 23:07:38 -07:00
|
|
|
|
2017-07-26 21:51:09 -07:00
|
|
|
warning: variable `theOtherTwo` should have a snake case name such as `the_other_two`
|
|
|
|
--> $DIR/issue-24690.rs:23:9
|
2017-01-06 18:51:16 -05:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | let theOtherTwo = 2; //~ WARN should have a snake case name
|
2017-01-06 18:51:16 -05:00
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|