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