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