rust-clippy/clippy_tests/examples/stutter.stderr

38 lines
915 B
Text
Raw Normal View History

error: item name starts with its containing module's name
--> stutter.rs:8:5
|
2017-02-08 13:58:07 +00:00
8 | pub fn foo_bar() {}
| ^^^^^^^^^^^^^^^^^^^
|
= note: `-D stutter` implied by `-D warnings`
error: item name ends with its containing module's name
--> stutter.rs:9:5
|
2017-02-08 13:58:07 +00:00
9 | pub fn bar_foo() {}
| ^^^^^^^^^^^^^^^^^^^
|
= note: `-D stutter` implied by `-D warnings`
error: item name starts with its containing module's name
--> stutter.rs:10:5
|
2017-02-08 13:58:07 +00:00
10 | pub struct FooCake {}
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D stutter` implied by `-D warnings`
error: item name ends with its containing module's name
--> stutter.rs:11:5
|
2017-02-08 13:58:07 +00:00
11 | pub enum CakeFoo {}
| ^^^^^^^^^^^^^^^^^^^
|
= note: `-D stutter` implied by `-D warnings`
error: aborting due to previous error(s)
error: Could not compile `clippy_tests`.
To learn more, run the command again with --verbose.