Skip to content

Commit

Permalink
Do not mark shallow_lint_levels_on as eval_always.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjgillot committed Aug 6, 2023
1 parent fbc11e9 commit 4e2a9b6
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 4e2a9b6

Please sign in to comment.