rust/tests/ui/items_after_test_module.stderr

18 lines
397 B
Plaintext

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