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
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | let theOtherTwo = 2; //~ WARN should have a snake case name
|
2018-02-01 04:56:01 +00:00
|
|
|
| ^^^^^^^^^^^ help: consider using `_theOtherTwo` instead
|
2016-10-27 06:07:38 +00:00
|
|
|
|
|
|
|
|
note: lint level 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
|
|
|
| ^^^^^^
|
|
|
|
= note: #[warn(unused_variables)] implied by #[warn(unused)]
|
2016-10-27 06:07:38 +00:00
|
|
|
|
2017-07-27 04:51:09 +00:00
|
|
|
warning: variable `theTwo` should have a snake case name such as `the_two`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/issue-24690.rs:12:9
|
2016-10-27 06:07:38 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | let theTwo = 2; //~ WARN should have a snake case name
|
2017-07-27 04:51:09 +00:00
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
|
= note: #[warn(non_snake_case)] on by default
|
2016-10-27 06:07:38 +00:00
|
|
|
|
2017-07-27 04:51:09 +00:00
|
|
|
warning: variable `theOtherTwo` should have a snake case name such as `the_other_two`
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/issue-24690.rs:13:9
|
2017-01-06 23:51:16 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | let theOtherTwo = 2; //~ WARN should have a snake case name
|
2017-01-06 23:51:16 +00:00
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|