Rename impl_of_method -> impl_of_assoc

This commit is contained in:
Cameron Steffen
2025-07-24 19:09:05 -05:00
parent 172af038a7
commit b43164cef6
41 changed files with 45 additions and 45 deletions

View File

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