rust-clippy/tests/ui/stutter.stderr

33 lines
733 B
Text
Raw Normal View History

error: item name starts with its containing module's name
--> $DIR/stutter.rs:8:5
|
2017-02-08 13:58:07 +00:00
8 | pub fn foo_bar() {}
| ^^^^^^^^^^^^^^^^^^^
|
note: lint level defined here
--> $DIR/stutter.rs:3:9
|
3 | #![deny(stutter)]
| ^^^^^^^
error: item name ends with its containing module's name
--> $DIR/stutter.rs:9:5
|
2017-02-08 13:58:07 +00:00
9 | pub fn bar_foo() {}
| ^^^^^^^^^^^^^^^^^^^
error: item name starts with its containing module's name
--> $DIR/stutter.rs:10:5
|
2017-02-08 13:58:07 +00:00
10 | pub struct FooCake {}
| ^^^^^^^^^^^^^^^^^^^^^
error: item name ends with its containing module's name
--> $DIR/stutter.rs:11:5
|
2017-02-08 13:58:07 +00:00
11 | pub enum CakeFoo {}
| ^^^^^^^^^^^^^^^^^^^
error: aborting due to 4 previous errors