about summary refs log tree commit diff
path: root/compiler/rustc_next_trait_solver/src
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-12-11 00:59:39 +0000
committerMichael Goulet <michael@errs.io>2024-12-11 00:59:43 +0000
commitec68498317f90221eeca4c5a14593914b42c2d0e (patch)
tree3ee9dd6520bf81c32c341e239c47746b759150f0 /compiler/rustc_next_trait_solver/src
parent33c245b9e98bc91e18ea1c5033824f4c6f92766f (diff)
downloadrust-ec68498317f90221eeca4c5a14593914b42c2d0e.tar.gz
rust-ec68498317f90221eeca4c5a14593914b42c2d0e.zip
Rename projection_def_id to item_def_id
Diffstat (limited to 'compiler/rustc_next_trait_solver/src')
-rw-r--r--compiler/rustc_next_trait_solver/src/solve/normalizes_to/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_next_trait_solver/src/solve/normalizes_to/mod.rs b/compiler/rustc_next_trait_solver/src/solve/normalizes_to/mod.rs
index f5b1b23b8e9..63dbee2640b 100644
--- a/compiler/rustc_next_trait_solver/src/solve/normalizes_to/mod.rs
+++ b/compiler/rustc_next_trait_solver/src/solve/normalizes_to/mod.rs
@@ -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,