2017-02-07 20:05:30 +00:00
|
|
|
error: item name starts with its containing module's name
|
2024-02-17 12:16:29 +00:00
|
|
|
--> tests/ui/module_name_repetitions.rs:8:12
|
2018-10-06 16:18:06 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | pub fn foo_bar() {}
|
2023-01-27 20:09:08 +00:00
|
|
|
| ^^^^^^^
|
2018-10-06 16:18:06 +00:00
|
|
|
|
|
2018-12-17 13:29:19 +00:00
|
|
|
= note: `-D clippy::module-name-repetitions` implied by `-D warnings`
|
2023-08-01 12:02:21 +00:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::module_name_repetitions)]`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: item name ends with its containing module's name
|
2024-02-17 12:16:29 +00:00
|
|
|
--> tests/ui/module_name_repetitions.rs:11:12
|
2018-10-06 16:18:06 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | pub fn bar_foo() {}
|
2023-01-27 20:09:08 +00:00
|
|
|
| ^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: item name starts with its containing module's name
|
2024-02-17 12:16:29 +00:00
|
|
|
--> tests/ui/module_name_repetitions.rs:13:16
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2022-04-07 17:39:59 +00:00
|
|
|
LL | pub struct FooCake;
|
2023-01-27 20:09:08 +00:00
|
|
|
| ^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: item name ends with its containing module's name
|
2024-02-17 12:16:29 +00:00
|
|
|
--> tests/ui/module_name_repetitions.rs:15:14
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | pub enum CakeFoo {}
|
2023-01-27 20:09:08 +00:00
|
|
|
| ^^^^^^^
|
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
|
2024-02-17 12:16:29 +00:00
|
|
|
--> tests/ui/module_name_repetitions.rs:17:16
|
2017-11-26 17:57:34 +00:00
|
|
|
|
|
2018-12-27 15:57:55 +00:00
|
|
|
LL | pub struct Foo7Bar;
|
2023-01-27 20:09:08 +00:00
|
|
|
| ^^^^^^^
|
2017-11-26 17:57:34 +00:00
|
|
|
|
2018-01-16 16:06:27 +00:00
|
|
|
error: aborting due to 5 previous errors
|
|
|
|
|