diff options
| author | bors <bors@rust-lang.org> | 2023-11-08 22:27:13 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-11-08 22:27:13 +0000 |
| commit | 34b7d1559f03f4a35316ed2a5261a87b591834bb (patch) | |
| tree | 5caafd9a41e943eab4626a40b16eda817bdd0e58 /tests/rustdoc-js-std/parser-errors.js | |
| parent | e16d42f5404ea8bbea0a5339bf3d68e58aa0a534 (diff) | |
| parent | 7e716ff9551965c8b458e6a2a935a4a36463fb77 (diff) | |
| download | rust-34b7d1559f03f4a35316ed2a5261a87b591834bb.tar.gz rust-34b7d1559f03f4a35316ed2a5261a87b591834bb.zip | |
Auto merge of #11779 - partiallytyped:11775, r=blyxyas
[`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
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions
