Skip to content

Commit

Permalink
Auto merge of #114536 - cjgillot:eval-lint-levels, r=TaKO8Ki
Browse files Browse the repository at this point in the history
Do not mark shallow_lint_levels_on as eval_always.

It does not need it. Removing it allows to skip recomputation.
  • Loading branch information
bors committed Aug 16, 2023
2 parents 656ee47 + 4e2a9b6 commit 4e3ce0e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion compiler/rustc_middle/src/query/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) }
}
Expand Down

0 comments on commit 4e3ce0e

Please sign in to comment.