mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
15 lines
469 B
Plaintext
15 lines
469 B
Plaintext
error: variable `X` should have a snake case name
|
|
--> $DIR/expr_attr_paren_order.rs:17:17
|
|
|
|
|
LL | let X = 0;
|
|
| ^ help: convert the identifier to snake case (notice the capitalization): `x`
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/expr_attr_paren_order.rs:15:37
|
|
|
|
|
LL | #[allow(non_snake_case)] #[deny(non_snake_case)] (
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to previous error
|
|
|