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