diff options
| author | Jakub Beránek <berykubik@gmail.com> | 2025-08-13 07:03:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-13 07:03:49 +0200 |
| commit | c2bc9265f02f6a36b9b8ed243c7411e0e614922c (patch) | |
| tree | 882e346b20b626a01e290479029f5fe34fd607a6 /compiler/rustc_passes/messages.ftl | |
| parent | 4b1deef096d6bc6f98a2de6afc31d5d25c1905af (diff) | |
| parent | 2c0409c7e838ef3f9910a6812c085f971e8bbae6 (diff) | |
| download | rust-c2bc9265f02f6a36b9b8ed243c7411e0e614922c.tar.gz rust-c2bc9265f02f6a36b9b8ed243c7411e0e614922c.zip | |
Rollup merge of #145274 - compiler-errors:unused-must-use, r=fmease
Remove unused `#[must_use]` Self-explanatory Fixes https://github.com/rust-lang/rust/issues/145257
Diffstat (limited to 'compiler/rustc_passes/messages.ftl')
| -rw-r--r-- | compiler/rustc_passes/messages.ftl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_passes/messages.ftl b/compiler/rustc_passes/messages.ftl index b5031f5d02e..eb03235de0c 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 |
