Skip to content

Commit 235dec1

Browse files
Feed explicit_predicates_of instead of predicates_of
1 parent c65dcca commit 235dec1

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

compiler/rustc_middle/src/query/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,6 @@ rustc_queries! {
439439
query predicates_of(key: DefId) -> ty::GenericPredicates<'tcx> {
440440
desc { |tcx| "computing predicates of `{}`", tcx.def_path_str(key) }
441441
cache_on_disk_if { key.is_local() }
442-
feedable
443442
}
444443

445444
query opaque_types_defined_by(

compiler/rustc_mir_transform/src/coroutine/by_move_body.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ pub(crate) fn coroutine_by_move_body_def_id<'tcx>(
239239
body_def.explicit_predicates_of(tcx.explicit_predicates_of(coroutine_def_id));
240240
body_def.generics_of(tcx.generics_of(coroutine_def_id).clone());
241241
body_def.param_env(tcx.param_env(coroutine_def_id));
242-
body_def.predicates_of(tcx.predicates_of(coroutine_def_id));
242+
body_def.explicit_predicates_of(tcx.explicit_predicates_of(coroutine_def_id));
243243

244244
// The type of the coroutine is the `by_move_coroutine_ty`.
245245
body_def.type_of(ty::EarlyBinder::bind(by_move_coroutine_ty));

0 commit comments

Comments
 (0)