mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 15:11:30 +00:00
34b7d1559f
[`mod_module_files`] Don't emit lint for mod.rs in tests fixes: #11775 current state: indiscriminately emits the lint for mod files in tests. The following ``` tests/ common/ mod.rs test.rs ``` is a common pattern for code shared across the tests and is suggested in the rust book. The change adds an additional check to verify that the mod file is not in tests. changelog: Fix [`mod_module_files`]: false positive for mod files in tests folder |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |