2017-02-07 20:05:30 +00:00
|
|
|
error: item name starts with its containing module's name
|
2017-08-01 15:54:21 +00:00
|
|
|
--> $DIR/stutter.rs:8:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-02-08 13:58:07 +00:00
|
|
|
8 | pub fn foo_bar() {}
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2017-05-17 12:19:44 +00:00
|
|
|
= note: `-D stutter` implied by `-D warnings`
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
|
|
error: item name ends with its containing module's name
|
2017-08-01 15:54:21 +00:00
|
|
|
--> $DIR/stutter.rs:9:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-02-08 13:58:07 +00:00
|
|
|
9 | pub fn bar_foo() {}
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: item name starts with its containing module's name
|
2017-08-01 15:54:21 +00:00
|
|
|
--> $DIR/stutter.rs:10:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-02-08 13:58:07 +00:00
|
|
|
10 | pub struct FooCake {}
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: item name ends with its containing module's name
|
2017-08-01 15:54:21 +00:00
|
|
|
--> $DIR/stutter.rs:11:5
|
2017-02-07 20:05:30 +00:00
|
|
|
|
|
2017-02-08 13:58:07 +00:00
|
|
|
11 | pub enum CakeFoo {}
|
2017-02-07 20:05:30 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2017-07-03 04:37:30 +00:00
|
|
|
error: aborting due to 4 previous errors
|
2017-02-07 20:05:30 +00:00
|
|
|
|