2017-02-07 20:05:30 +00:00
|
|
|
error: item name starts with its containing module's name
|
2018-12-17 13:29:19 +00:00
|
|
|
--> $DIR/module_name_repetitions.rs:15:5
|
2018-10-06 16:18:06 +00:00
|
|
|
|
|
2018-12-10 05:27:19 +00:00
|
|
|
15 | pub fn foo_bar() {}
|
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`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: item name ends with its containing module's name
|
2018-12-17 13:29:19 +00:00
|
|
|
--> $DIR/module_name_repetitions.rs:16:5
|
2018-10-06 16:18:06 +00:00
|
|
|
|
|
2018-12-10 05:27:19 +00:00
|
|
|
16 | pub fn bar_foo() {}
|
2018-10-06 16:18:06 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: item name starts with its containing module's name
|
2018-12-17 13:29:19 +00:00
|
|
|
--> $DIR/module_name_repetitions.rs:17:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-10 05:27:19 +00:00
|
|
|
17 | pub struct FooCake {}
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: item name ends with its containing module's name
|
2018-12-17 13:29:19 +00:00
|
|
|
--> $DIR/module_name_repetitions.rs:18:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2018-12-10 05:27:19 +00:00
|
|
|
18 | 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-12-17 13:29:19 +00:00
|
|
|
--> $DIR/module_name_repetitions.rs:19:5
|
2017-11-26 17:57:34 +00:00
|
|
|
|
|
2018-12-10 05:27:19 +00:00
|
|
|
19 | 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
|
|
|
|
|