Do not visit whole crate to compute lints_that_dont_need_to_run.
This commit is contained in:
@@ -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" }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user