]>
Commit | Line | Data |
---|---|---|
0731742a XL |
1 | error: module `FooBar` should have a snake case name |
2 | --> $DIR/lint-non-snake-case-modules.rs:4:5 | |
b7449926 | 3 | | |
532ac7d7 | 4 | LL | mod FooBar { |
0731742a | 5 | | ^^^^^^ help: convert the identifier to snake case: `foo_bar` |
b7449926 | 6 | | |
74b04a01 | 7 | note: the lint level is defined here |
0731742a | 8 | --> $DIR/lint-non-snake-case-modules.rs:1:9 |
b7449926 XL |
9 | | |
10 | LL | #![deny(non_snake_case)] | |
11 | | ^^^^^^^^^^^^^^ | |
12 | ||
13 | error: aborting due to previous error | |
14 |