]> git.lizzy.rs Git - rust.git/blob - tests/ui/module_name_repetitions.stderr
bdd217a969c05acfcee5efe23b2e111b72451b62
[rust.git] / tests / ui / module_name_repetitions.stderr
1 error: item name starts with its containing module's name
2   --> $DIR/module_name_repetitions.rs:8:5
3    |
4 LL |     pub fn foo_bar() {}
5    |     ^^^^^^^^^^^^^^^^^^^
6    |
7    = note: `-D clippy::module-name-repetitions` implied by `-D warnings`
8
9 error: item name ends with its containing module's name
10   --> $DIR/module_name_repetitions.rs:9:5
11    |
12 LL |     pub fn bar_foo() {}
13    |     ^^^^^^^^^^^^^^^^^^^
14
15 error: item name starts with its containing module's name
16   --> $DIR/module_name_repetitions.rs:10:5
17    |
18 LL |     pub struct FooCake {}
19    |     ^^^^^^^^^^^^^^^^^^^^^
20
21 error: item name ends with its containing module's name
22   --> $DIR/module_name_repetitions.rs:11:5
23    |
24 LL |     pub enum CakeFoo {}
25    |     ^^^^^^^^^^^^^^^^^^^
26
27 error: item name starts with its containing module's name
28   --> $DIR/module_name_repetitions.rs:12:5
29    |
30 LL |     pub struct Foo7Bar;
31    |     ^^^^^^^^^^^^^^^^^^^
32
33 error: aborting due to 5 previous errors
34