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:
bors 2023-08-16 04:26:12 +00:00
commit 4e3ce0e782

View File

@ -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) }
}