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