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.
26 lines
604 B
Plaintext
26 lines
604 B
Plaintext
error: module has the same name as its containing module
|
|
--> module_inception.rs:7:9
|
|
|
|
|
7 | / mod bar {
|
|
8 | | mod foo {}
|
|
9 | | }
|
|
| |_________^
|
|
|
|
|
= note: `-D module-inception` implied by `-D warnings`
|
|
|
|
error: module has the same name as its containing module
|
|
--> module_inception.rs:12:5
|
|
|
|
|
12 | / mod foo {
|
|
13 | | mod bar {}
|
|
14 | | }
|
|
| |_____^
|
|
|
|
|
= note: `-D module-inception` 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.
|