Remove eval_always from upvars.

This commit is contained in:
Camille GILLOT 2021-06-06 13:54:00 +02:00
parent c4ff03f689
commit 04f011f1b7

View File

@ -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()) }