Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[
mod_module_files
] Don't emit lint for modules in tests
fixes: rust-lang#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
- Loading branch information