rust/src/test/ui/lint/lint-non-snake-case-crate-2.stderr
Andy Russell 7c0d145ec1
improve non_snake_case diagnostics
Use a structured suggestion and tighten the span to just the identifier.
2019-01-08 13:24:38 -05:00

12 lines
308 B
Plaintext

error: crate `NonSnakeCase` should have a snake case name
|
note: lint level defined here
--> $DIR/lint-non-snake-case-crate-2.rs:4:9
|
LL | #![deny(non_snake_case)]
| ^^^^^^^^^^^^^^
= help: convert the identifier to snake case: `non_snake_case`
error: aborting due to previous error