rust/tests/ui/stutter.stderr
2017-08-01 17:54:21 +02:00

29 lines
680 B
Plaintext

error: item name starts with its containing module's name
--> $DIR/stutter.rs:8:5
|
8 | pub fn foo_bar() {}
| ^^^^^^^^^^^^^^^^^^^
|
= note: `-D stutter` implied by `-D warnings`
error: item name ends with its containing module's name
--> $DIR/stutter.rs:9:5
|
9 | pub fn bar_foo() {}
| ^^^^^^^^^^^^^^^^^^^
error: item name starts with its containing module's name
--> $DIR/stutter.rs:10:5
|
10 | pub struct FooCake {}
| ^^^^^^^^^^^^^^^^^^^^^
error: item name ends with its containing module's name
--> $DIR/stutter.rs:11:5
|
11 | pub enum CakeFoo {}
| ^^^^^^^^^^^^^^^^^^^
error: aborting due to 4 previous errors