2017-02-07 20:05:30 +00:00
|
|
|
error: item name starts with its containing module's name
|
2018-10-06 16:18:06 +00:00
|
|
|
--> $DIR/stutter.rs:18:5
|
|
|
|
|
|
|
|
|
18 | pub fn foo_bar() {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::stutter` implied by `-D warnings`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: item name ends with its containing module's name
|
2018-10-06 16:18:06 +00:00
|
|
|
--> $DIR/stutter.rs:19:5
|
|
|
|
|
|
|
|
|
19 | pub fn bar_foo() {}
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: item name starts with its containing module's name
|
2018-10-06 16:18:06 +00:00
|
|
|
--> $DIR/stutter.rs:20:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-10-06 16:18:06 +00:00
|
|
|
20 | pub struct FooCake {}
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: item name ends with its containing module's name
|
2018-10-06 16:18:06 +00:00
|
|
|
--> $DIR/stutter.rs:21:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-10-06 16:18:06 +00:00
|
|
|
21 | pub enum CakeFoo {}
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2017-11-26 17:57:34 +00:00
|
|
|
error: item name starts with its containing module's name
|
2018-10-06 16:18:06 +00:00
|
|
|
--> $DIR/stutter.rs:22:5
|
2017-11-26 17:57:34 +00:00
|
|
|
|
|
2018-10-06 16:18:06 +00:00
|
|
|
22 | pub struct Foo7Bar;
|
2017-11-26 17:57:34 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2018-01-16 16:06:27 +00:00
|
|
|
error: aborting due to 5 previous errors
|
|
|
|
|