2023-04-11 13:31:08 +00:00
|
|
|
error: this function marked with #[test] is outside a #[cfg(test)] module
|
2024-02-17 12:16:29 +00:00
|
|
|
--> tests/ui/tests_outside_test_module.rs:10:1
|
2023-04-11 13:31:08 +00: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`
|
2023-08-01 12:02:21 +00:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::tests_outside_test_module)]`
|
2023-04-11 13:31:08 +00:00
|
|
|
|
2023-11-21 17:08:42 +00:00
|
|
|
error: aborting due to 1 previous error
|
2023-04-11 13:31:08 +00:00
|
|
|
|