mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 15:11:30 +00:00
34 lines
829 B
Text
34 lines
829 B
Text
error: item name starts with its containing module's name
|
|
--> $DIR/stutter.rs:8:5
|
|
|
|
|
8 | pub fn foo_bar() {}
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D stutter` implied by `-D warnings`
|
|
|
|
error: item name ends with its containing module's name
|
|
--> $DIR/stutter.rs:9:5
|
|
|
|
|
9 | pub fn bar_foo() {}
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: item name starts with its containing module's name
|
|
--> $DIR/stutter.rs:10:5
|
|
|
|
|
10 | pub struct FooCake {}
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: item name ends with its containing module's name
|
|
--> $DIR/stutter.rs:11:5
|
|
|
|
|
11 | pub enum CakeFoo {}
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: item name starts with its containing module's name
|
|
--> $DIR/stutter.rs:12:5
|
|
|
|
|
12 | pub struct Foo7Bar;
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 5 previous errors
|
|
|