rust/tests/ui/stutter.stderr

35 lines
849 B
Plaintext
Raw Normal View History

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