mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-18 17:15:05 +00:00
18 lines
397 B
Text
18 lines
397 B
Text
|
error: items were found after the testing module
|
||
|
--> $DIR/items_after_test_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
|
||
|
|