2019-01-04 09:19:52 -06:00
|
|
|
error: variable `X` should have a snake case name
|
2021-03-19 18:52:07 -05:00
|
|
|
--> $DIR/expr_attr_paren_order.rs:17:17
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | let X = 0;
|
2019-10-13 23:48:39 -05:00
|
|
|
| ^ help: convert the identifier to snake case (notice the capitalization): `x`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2020-01-22 17:57:38 -06:00
|
|
|
note: the lint level is defined here
|
2021-03-19 18:52:07 -05:00
|
|
|
--> $DIR/expr_attr_paren_order.rs:15:37
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2021-03-19 18:52:07 -05:00
|
|
|
LL | #[allow(non_snake_case)] #[deny(non_snake_case)] (
|
|
|
|
| ^^^^^^^^^^^^^^
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|