about summary refs log tree commit diff
path: root/compiler/rustc_monomorphize
diff options
context:
space:
mode:
authorCameron Steffen <cam.steffen94@gmail.com>2025-07-24 19:09:05 -0500
committerCameron Steffen <cam.steffen94@gmail.com>2025-07-28 09:54:53 -0500
commitb43164cef643957f9e1cd20dffdbb736f3f3c298 (patch)
treea9a3c85b1bf781fbb20d5a78365c90c73dce7d0c /compiler/rustc_monomorphize
parent172af038a733020ec487d57a593ddb27ce16c325 (diff)
downloadrust-b43164cef643957f9e1cd20dffdbb736f3f3c298.tar.gz
rust-b43164cef643957f9e1cd20dffdbb736f3f3c298.zip
Rename impl_of_method -> impl_of_assoc
Diffstat (limited to 'compiler/rustc_monomorphize')
-rw-r--r--compiler/rustc_monomorphize/src/partitioning.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_monomorphize/src/partitioning.rs b/compiler/rustc_monomorphize/src/partitioning.rs
index 9f5807070a7..cee15e0f696 100644
--- a/compiler/rustc_monomorphize/src/partitioning.rs
+++ b/compiler/rustc_monomorphize/src/partitioning.rs
@@ -656,7 +656,7 @@ fn characteristic_def_id_of_mono_item<'tcx>(
                 return characteristic_def_id_of_type(self_ty).or(Some(def_id));
             }
 
-            if let Some(impl_def_id) = tcx.impl_of_method(def_id) {
+            if let Some(impl_def_id) = tcx.impl_of_assoc(def_id) {
                 if tcx.sess.opts.incremental.is_some()
                     && tcx
                         .trait_id_of_impl(impl_def_id)