Auto merge of #114536 - cjgillot:eval-lint-levels, r=TaKO8Ki
Do not mark shallow_lint_levels_on as eval_always. It does not need it. Removing it allows to skip recomputation.
This commit is contained in:
commit
4e3ce0e782
@ -388,7 +388,6 @@ rustc_queries! {
|
||||
}
|
||||
|
||||
query shallow_lint_levels_on(key: hir::OwnerId) -> &'tcx rustc_middle::lint::ShallowLintLevelMap {
|
||||
eval_always // fetches `resolutions`
|
||||
arena_cache
|
||||
desc { |tcx| "looking up lint levels for `{}`", tcx.def_path_str(key) }
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user