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