diff options
| author | Michael Goulet <michael@errs.io> | 2025-07-09 17:06:39 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-07-09 17:07:04 +0000 |
| commit | 728017ea8f14e0cc343a6ded0e955868d628cc76 (patch) | |
| tree | 2bd4a06abfab73350cc88e04ccbcefb02fb6e9c2 /compiler/rustc_hir_analysis/messages.ftl | |
| parent | 040e2f8b9ff2d76fbe2146d6003e297ed4532088 (diff) | |
| download | rust-728017ea8f14e0cc343a6ded0e955868d628cc76.tar.gz rust-728017ea8f14e0cc343a6ded0e955868d628cc76.zip | |
Make AsyncDrop check that it's being implemented on a local ADT
Diffstat (limited to 'compiler/rustc_hir_analysis/messages.ftl')
| -rw-r--r-- | compiler/rustc_hir_analysis/messages.ftl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/messages.ftl b/compiler/rustc_hir_analysis/messages.ftl index 529d3578985..0429b290476 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 |
