about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/impl_wf_check
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-05-09 21:18:48 -0400
committerMichael Goulet <michael@errs.io>2024-05-10 10:42:57 -0400
commit6f77bfe8b63b2e1bba71a0eb4973ccd17fe8885c (patch)
tree4ed62ab743c67875b1e4adcdff26e05766faa926 /compiler/rustc_hir_analysis/src/impl_wf_check
parent9108294a6c37c36ce561eade9d1c321a5d75bddd (diff)
downloadrust-6f77bfe8b63b2e1bba71a0eb4973ccd17fe8885c.tar.gz
rust-6f77bfe8b63b2e1bba71a0eb4973ccd17fe8885c.zip
Name tweaks
Diffstat (limited to 'compiler/rustc_hir_analysis/src/impl_wf_check')
-rw-r--r--compiler/rustc_hir_analysis/src/impl_wf_check/min_specialization.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/src/impl_wf_check/min_specialization.rs b/compiler/rustc_hir_analysis/src/impl_wf_check/min_specialization.rs
index 77dbb23fcb6..de697b04ebf 100644
--- a/compiler/rustc_hir_analysis/src/impl_wf_check/min_specialization.rs
+++ b/compiler/rustc_hir_analysis/src/impl_wf_check/min_specialization.rs
@@ -212,7 +212,7 @@ fn get_impl_args(
             traits::ObligationCause::new(
                 impl1_span,
                 impl1_def_id,
-                traits::ObligationCauseCode::SpannedItem(impl2_node.def_id(), span),
+                traits::ObligationCauseCode::SpannedWhereClause(impl2_node.def_id(), span),
             )
         },
     );