2017-02-07 14:05:30 -06:00
|
|
|
error: item name starts with its containing module's name
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/stutter.rs:8:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
8 | pub fn foo_bar() {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-05-17 07:19:44 -05:00
|
|
|
= note: `-D stutter` implied by `-D warnings`
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
|
|
error: item name ends with its containing module's name
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/stutter.rs:9:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
9 | pub fn bar_foo() {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: item name starts with its containing module's name
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/stutter.rs:10:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
10 | pub struct FooCake {}
|
2017-02-07 14:05:30 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: item name ends with its containing module's name
|
2017-08-01 10:54:21 -05:00
|
|
|
--> $DIR/stutter.rs:11:5
|
2017-02-07 14:05:30 -06:00
|
|
|
|
|
2017-02-08 07:58:07 -06:00
|
|
|
11 | pub enum CakeFoo {}
|
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
|
|
|
|
--> $DIR/stutter.rs:12:5
|
|
|
|
|
|
|
|
|
12 | pub struct Foo7Bar;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2018-01-16 10:06:27 -06:00
|
|
|
error: aborting due to 5 previous errors
|
|
|
|
|