diff options
| author | Michael Goulet <michael@errs.io> | 2025-08-11 21:38:46 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-08-12 19:54:57 +0000 |
| commit | 2c0409c7e838ef3f9910a6812c085f971e8bbae6 (patch) | |
| tree | 74be75e8957ef9535e60ab110248a8b4e4e7f420 /compiler/rustc_lint/src/lints.rs | |
| parent | ca77504943887037504c7fc0b9bf06dab3910373 (diff) | |
| download | rust-2c0409c7e838ef3f9910a6812c085f971e8bbae6.tar.gz rust-2c0409c7e838ef3f9910a6812c085f971e8bbae6.zip | |
Remove unused must_use
Diffstat (limited to 'compiler/rustc_lint/src/lints.rs')
| -rw-r--r-- | compiler/rustc_lint/src/lints.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/rustc_lint/src/lints.rs b/compiler/rustc_lint/src/lints.rs index 73e69a1791a..f1d3d0d19da 100644 --- a/compiler/rustc_lint/src/lints.rs +++ b/compiler/rustc_lint/src/lints.rs @@ -2935,9 +2935,10 @@ pub(crate) struct RawPrefix { pub(crate) struct UnusedBuiltinAttribute { #[note] pub invoc_span: Span, - pub attr_name: Symbol, pub macro_name: String, + #[suggestion(code = "", applicability = "machine-applicable", style = "tool-only")] + pub attr_span: Span, } #[derive(LintDiagnostic)] |
