diff options
| author | bors <bors@rust-lang.org> | 2023-08-05 07:20:16 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-08-05 07:20:16 +0000 |
| commit | 67626b8e89ff57269f1d67cb9bc037088c058b42 (patch) | |
| tree | 4c4510ae6a0be0fd4774020ab487495852157b47 /library/std/src/sys/unix/fs.rs | |
| parent | fca59ab5f0e7df7d816bed77a32abc0045ebe80b (diff) | |
| parent | 905b63d64f8f91016a7fb0e40f0c0ae4f5e8cc51 (diff) | |
| download | rust-67626b8e89ff57269f1d67cb9bc037088c058b42.tar.gz rust-67626b8e89ff57269f1d67cb9bc037088c058b42.zip | |
Auto merge of #113734 - cjgillot:no-crate-lint, r=petrochenkov
Convert builtin "global" late lints to run per module The compiler currently has 4 non-incremental lints: 1. `clashing_extern_declarations`; 2. `missing_debug_implementations`; 3. ~`unnameable_test_items`;~ changed by https://github.com/rust-lang/rust/pull/114414 4. `missing_docs`. Non-incremental lints get reexecuted for each compilation, which is slow. Moreover, those lints are allow-by-default, so run for nothing most of the time. This PR attempts to make them more incremental-friendly. `clashing_extern_declarations` is moved to a standalone query. `missing_debug_implementation` can use `non_blanket_impls_for_ty` instead of recomputing it. `missing_docs` is harder as it needs to track if there is a `doc(hidden)` module surrounding. I hack around this using the lint level engine. That's easy to implement and allows to re-enable the lint for a re-exported module, while a more proper solution would reuse the same device as `unnameable_test_items`.
Diffstat (limited to 'library/std/src/sys/unix/fs.rs')
0 files changed, 0 insertions, 0 deletions
