diff options
| author | Camille GILLOT <gillot.camille@gmail.com> | 2024-12-03 00:12:24 +0000 |
|---|---|---|
| committer | Camille GILLOT <gillot.camille@gmail.com> | 2025-04-04 12:37:38 +0000 |
| commit | 280a1d8edb8322280bb9b10fab41c7bfb43d67b2 (patch) | |
| tree | 889135090759548e237ffb07de32b35be4696a31 /compiler/rustc_middle/src/query/mod.rs | |
| parent | f174fd716a429fa17eb1e98ba4e382f09312f8ad (diff) | |
| download | rust-280a1d8edb8322280bb9b10fab41c7bfb43d67b2.tar.gz rust-280a1d8edb8322280bb9b10fab41c7bfb43d67b2.zip | |
Do not visit whole crate to compute `lints_that_dont_need_to_run`.
Diffstat (limited to 'compiler/rustc_middle/src/query/mod.rs')
| -rw-r--r-- | compiler/rustc_middle/src/query/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/query/mod.rs b/compiler/rustc_middle/src/query/mod.rs index 698859c663b..b9a113b976e 100644 --- a/compiler/rustc_middle/src/query/mod.rs +++ b/compiler/rustc_middle/src/query/mod.rs @@ -476,7 +476,7 @@ rustc_queries! { desc { "computing `#[expect]`ed lints in this crate" } } - query lints_that_dont_need_to_run(_: ()) -> &'tcx FxIndexSet<LintId> { + query lints_that_dont_need_to_run(_: ()) -> &'tcx UnordSet<LintId> { arena_cache desc { "Computing all lints that are explicitly enabled or with a default level greater than Allow" } } |
