Skip to content

Commit

Permalink
Remove eval_always from upvars.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjgillot committed Nov 4, 2021
1 parent c4ff03f commit 04f011f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion compiler/rustc_middle/src/query/mod.rs
Expand Up @@ -1556,7 +1556,6 @@ rustc_queries! {

query upvars_mentioned(def_id: DefId) -> Option<&'tcx FxIndexMap<hir::HirId, hir::Upvar>> {
desc { |tcx| "collecting upvars mentioned in `{}`", tcx.def_path_str(def_id) }
eval_always
}
query maybe_unused_trait_import(def_id: LocalDefId) -> bool {
desc { |tcx| "maybe_unused_trait_import for `{}`", tcx.def_path_str(def_id.to_def_id()) }
Expand Down

0 comments on commit 04f011f

Please sign in to comment.