Move some code and add comments.
This commit is contained in:
@@ -273,7 +273,7 @@ rustc_queries! {
|
||||
separate_provide_extern
|
||||
}
|
||||
|
||||
query lint_levels_on(key: HirId) -> FxHashMap<LintId, LevelAndSource> {
|
||||
query shallow_lint_levels_on(key: HirId) -> rustc_middle::lint::ShallowLintLevelMap {
|
||||
arena_cache
|
||||
desc { |tcx| "looking up lint levels for `{}`", key }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user