rust/tests/ui/lint/expr_attr_paren_order.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
469 B
Plaintext
Raw Normal View History

error: variable `X` should have a snake case name
--> $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;
| ^ 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
--> $DIR/expr_attr_paren_order.rs:15:37
2018-08-08 12:28:26 +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