blob: 71c649c5d2706e14651df274fd30af9749546130 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
error: this function marked with #[test] is outside a #[cfg(test)] module
--> $DIR/tests_outside_test_module.rs:10:1
|
LL | fn my_test() {}
| ^^^^^^^^^^^^^^^
|
= note: move it to a testing module marked with #[cfg(test)]
= note: `-D clippy::tests-outside-test-module` implied by `-D warnings`
error: aborting due to previous error
|