2023-04-11 08:31:08 -05:00
|
|
|
error: this function marked with #[test] is outside a #[cfg(test)] module
|
2023-07-02 07:35:19 -05:00
|
|
|
--> $DIR/tests_outside_test_module.rs:10:1
|
2023-04-11 08:31:08 -05:00
|
|
|
|
|
|
|
|
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
|
|
|
|
|