rust/tests/ui/stutter.stderr

35 lines
837 B
Plaintext
Raw Normal View History

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