rust-clippy
rust-clippy copied to clipboard
fix: Do not warn tests outside a module for integration tests
Fixes a false positive that triggers tests_outside_test_module in integration tests. As per The Rust Book the integration tests do not need neither #[cfg(test)] nor a separate module because they are separate binary crates.
changelog: [tests_outside_test_module] Do not lint for integration tests
fixes #11024