1 error: item name starts with its containing module's name
2 --> $DIR/module_name_repetitions.rs:15:5
4 LL | pub fn foo_bar() {}
7 = note: `-D clippy::module-name-repetitions` implied by `-D warnings`
9 error: item name ends with its containing module's name
10 --> $DIR/module_name_repetitions.rs:16:5
12 LL | pub fn bar_foo() {}
15 error: item name starts with its containing module's name
16 --> $DIR/module_name_repetitions.rs:17:5
18 LL | pub struct FooCake {}
19 | ^^^^^^^^^^^^^^^^^^^^^
21 error: item name ends with its containing module's name
22 --> $DIR/module_name_repetitions.rs:18:5
24 LL | pub enum CakeFoo {}
27 error: item name starts with its containing module's name
28 --> $DIR/module_name_repetitions.rs:19:5
30 LL | pub struct Foo7Bar;
33 error: aborting due to 5 previous errors