mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 15:01:51 +00:00
16 lines
454 B
Plaintext
16 lines
454 B
Plaintext
|
error: variable `A` should have a snake case name
|
||
|
--> $DIR/forbid-group-group-1.rs:11:9
|
||
|
|
|
||
|
LL | let A: ();
|
||
|
| ^ help: convert the identifier to snake case: `a`
|
||
|
|
|
||
|
note: the lint level is defined here
|
||
|
--> $DIR/forbid-group-group-1.rs:4:11
|
||
|
|
|
||
|
LL | #![forbid(nonstandard_style)]
|
||
|
| ^^^^^^^^^^^^^^^^^
|
||
|
= note: `#[forbid(non_snake_case)]` implied by `#[forbid(nonstandard_style)]`
|
||
|
|
||
|
error: aborting due to previous error
|
||
|
|