about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/messages.ftl
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-07-18 14:49:17 +0200
committerGitHub <noreply@github.com>2025-07-18 14:49:17 +0200
commit3acbb4d42133fb1604da1e9ed9728da97ffd4465 (patch)
treea7a625da3bd2da5a8b499ec88274e8ab5f7c056b /compiler/rustc_hir_analysis/messages.ftl
parent7b6e2f972563a5a8a647cfb1ee4f8b8204ade6cf (diff)
parent728017ea8f14e0cc343a6ded0e955868d628cc76 (diff)
downloadrust-3acbb4d42133fb1604da1e9ed9728da97ffd4465.tar.gz
rust-3acbb4d42133fb1604da1e9ed9728da97ffd4465.zip
Rollup merge of #143699 - compiler-errors:async-drop-fund, r=oli-obk
Make `AsyncDrop` check that it's being implemented on a local ADT

Fixes https://github.com/rust-lang/rust/issues/143691
Diffstat (limited to 'compiler/rustc_hir_analysis/messages.ftl')
-rw-r--r--compiler/rustc_hir_analysis/messages.ftl2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/messages.ftl b/compiler/rustc_hir_analysis/messages.ftl
index a20becbe7e8..e38ca9e80ce 100644
--- a/compiler/rustc_hir_analysis/messages.ftl
+++ b/compiler/rustc_hir_analysis/messages.ftl
@@ -158,7 +158,7 @@ hir_analysis_dispatch_from_dyn_zst = the trait `DispatchFromDyn` may only be imp
 hir_analysis_drop_impl_negative = negative `Drop` impls are not supported
 
 hir_analysis_drop_impl_on_wrong_item =
-    the `Drop` trait may only be implemented for local structs, enums, and unions
+    the `{$trait_}` trait may only be implemented for local structs, enums, and unions
     .label = must be a struct, enum, or union in the current crate
 
 hir_analysis_drop_impl_reservation = reservation `Drop` impls are not supported