1
Fork 0

Rename projection_def_id to item_def_id

This commit is contained in:
Michael Goulet 2024-12-11 00:59:39 +00:00
parent 33c245b9e9
commit ec68498317
7 changed files with 9 additions and 9 deletions

View file

@ -144,7 +144,7 @@ where
then: impl FnOnce(&mut EvalCtxt<'_, D>) -> QueryResult<I>,
) -> Result<Candidate<I>, NoSolution> {
if let Some(projection_pred) = assumption.as_projection_clause() {
if projection_pred.projection_def_id() == goal.predicate.def_id() {
if projection_pred.item_def_id() == goal.predicate.def_id() {
let cx = ecx.cx();
if !DeepRejectCtxt::relate_rigid_rigid(ecx.cx()).args_may_unify(
goal.predicate.alias.args,