about summary refs log tree commit diff
path: root/compiler/rustc_passes/messages.ftl
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2025-08-11 21:38:46 +0000
committerMichael Goulet <michael@errs.io>2025-08-12 19:54:57 +0000
commit2c0409c7e838ef3f9910a6812c085f971e8bbae6 (patch)
tree74be75e8957ef9535e60ab110248a8b4e4e7f420 /compiler/rustc_passes/messages.ftl
parentca77504943887037504c7fc0b9bf06dab3910373 (diff)
downloadrust-2c0409c7e838ef3f9910a6812c085f971e8bbae6.tar.gz
rust-2c0409c7e838ef3f9910a6812c085f971e8bbae6.zip
Remove unused must_use
Diffstat (limited to 'compiler/rustc_passes/messages.ftl')
-rw-r--r--compiler/rustc_passes/messages.ftl1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_passes/messages.ftl b/compiler/rustc_passes/messages.ftl
index 6a28fe2617e..5654f8f5efc 100644
--- a/compiler/rustc_passes/messages.ftl
+++ b/compiler/rustc_passes/messages.ftl
@@ -510,6 +510,7 @@ passes_must_not_suspend =
 
 passes_must_use_no_effect =
     `#[must_use]` has no effect when applied to {$article} {$target}
+    .suggestion = remove the attribute
 
 passes_no_link =
     attribute should be applied to an `extern crate` item