Skip to content

Commit 4e3ce0e

Browse files
committed
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.
2 parents 656ee47 + 4e2a9b6 commit 4e3ce0e

File tree

1 file changed

+0
-1
lines changed
  • compiler/rustc_middle/src/query

1 file changed

+0
-1
lines changed

compiler/rustc_middle/src/query/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,6 @@ rustc_queries! {
388388
}
389389

390390
query shallow_lint_levels_on(key: hir::OwnerId) -> &'tcx rustc_middle::lint::ShallowLintLevelMap {
391-
eval_always // fetches `resolutions`
392391
arena_cache
393392
desc { |tcx| "looking up lint levels for `{}`", tcx.def_path_str(key) }
394393
}

0 commit comments

Comments
 (0)