]> git.lizzy.rs Git - rust.git/blob - tests/ui/lint/lint-non-snake-case-crate.stderr
Auto merge of #106884 - clubby789:fieldless-enum-debug, r=michaelwoerister
[rust.git] / tests / ui / lint / lint-non-snake-case-crate.stderr
1 error: crate `NonSnakeCase` should have a snake case name
2   --> $DIR/lint-non-snake-case-crate.rs:1:18
3    |
4 LL | #![crate_name = "NonSnakeCase"]
5    |                  ^^^^^^^^^^^^ help: convert the identifier to snake case: `non_snake_case`
6    |
7 note: the lint level is defined here
8   --> $DIR/lint-non-snake-case-crate.rs:3:9
9    |
10 LL | #![deny(non_snake_case)]
11    |         ^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14