rust/tests/ui/items_after_test_module.stderr

18 lines
397 B
Plaintext
Raw Normal View History

2023-04-12 13:17:26 -05:00
error: items were found after the testing module
--> $DIR/items_after_test_module.rs:13:1
2023-03-31 02:06:39 -05:00
|
2023-04-12 13:17:26 -05:00
LL | / mod tests {
LL | | #[test]
LL | | fn hi() {}
LL | | }
... |
LL | | () => {};
LL | | }
| |_^
2023-03-31 02:06:39 -05:00
|
2023-04-12 13:17:26 -05:00
= help: move the items to before the testing module was defined
2023-03-31 02:06:39 -05:00
= note: `-D clippy::items-after-test-module` implied by `-D warnings`
2023-04-12 13:17:26 -05:00
error: aborting due to previous error
2023-03-31 02:06:39 -05:00