mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-23 03:23:33 +00:00
c2c73189c8
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
14 lines
368 B
Text
14 lines
368 B
Text
error: items after a test module
|
|
--> $DIR/auxiliary/submodule.rs:2:1
|
|
|
|
|
LL | mod tests {}
|
|
| ^^^^^^^^^
|
|
LL |
|
|
LL | fn in_submodule() {}
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: `-D clippy::items-after-test-module` implied by `-D warnings`
|
|
= help: to override `-D warnings` add `#[allow(clippy::items_after_test_module)]`
|
|
|
|
error: aborting due to 1 previous error
|
|
|