mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-24 03:53:20 +00:00
17 lines
386 B
Text
17 lines
386 B
Text
error: items were found after the testing module
|
|
--> $DIR/block_module.rs:13:1
|
|
|
|
|
LL | / mod tests {
|
|
LL | | #[test]
|
|
LL | | fn hi() {}
|
|
LL | | }
|
|
... |
|
|
LL | | () => {};
|
|
LL | | }
|
|
| |_^
|
|
|
|
|
= help: move the items to before the testing module was defined
|
|
= note: `-D clippy::items-after-test-module` implied by `-D warnings`
|
|
|
|
error: aborting due to previous error
|
|
|