1
Fork 0

Do not mark shallow_lint_levels_on as eval_always.

This commit is contained in:
Camille GILLOT 2023-08-06 10:31:02 +00:00
parent fbc11e9690
commit 4e2a9b6b6e

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