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