about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/errors.rs
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2024-05-27 23:53:46 +0200
committerLeón Orell Valerian Liehr <me@fmease.dev>2024-05-30 22:52:33 +0200
commit34c56c45cff1d0029dafd7d19c524975292382af (patch)
tree0738ba0b43dc1693fd14104887bcf636b94a0d5b /compiler/rustc_hir_analysis/src/errors.rs
parent0a59f113629aafb6e5ee55ad04a2d451a11d8466 (diff)
downloadrust-34c56c45cff1d0029dafd7d19c524975292382af.tar.gz
rust-34c56c45cff1d0029dafd7d19c524975292382af.zip
Rename HIR `TypeBinding` to `AssocItemConstraint` and related cleanup
Diffstat (limited to 'compiler/rustc_hir_analysis/src/errors.rs')
-rw-r--r--compiler/rustc_hir_analysis/src/errors.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_hir_analysis/src/errors.rs b/compiler/rustc_hir_analysis/src/errors.rs
index 1c99713b3ae..8a9d4cd4ac7 100644
--- a/compiler/rustc_hir_analysis/src/errors.rs
+++ b/compiler/rustc_hir_analysis/src/errors.rs
@@ -290,8 +290,8 @@ pub struct AmbiguousLifetimeBound {
 }
 
 #[derive(Diagnostic)]
-#[diag(hir_analysis_assoc_type_binding_not_allowed, code = E0229)]
-pub struct AssocTypeBindingNotAllowed {
+#[diag(hir_analysis_assoc_item_constraints_not_allowed_here, code = E0229)]
+pub struct AssocItemConstraintsNotAllowedHere {
     #[primary_span]
     #[label]
     pub span: Span,