mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-28 15:41:10 +00:00
6b6253016f
rustc now (https://github.com/rust-lang/rust/issues/33525) does not report an error count anymore, because it was not correct in many cases.
37 lines
915 B
Text
37 lines
915 B
Text
error: item name starts with its containing module's name
|
|
--> 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
|
|
--> stutter.rs:9:5
|
|
|
|
|
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
|
|
|
|
|
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
|
|
|
|
|
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.
|