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 07:28:26 -05:00
|
2019-03-09 06:03:44 -06:00
LL | let X = 0;
| ^ 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
--> $DIR/expr_attr_paren_order.rs:15:37
2018-08-08 07:28:26 -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