diff options
| author | Urgau <urgau@numericable.fr> | 2025-06-21 22:07:36 +0200 |
|---|---|---|
| committer | Urgau <urgau@numericable.fr> | 2025-06-22 16:45:16 +0200 |
| commit | 6ffd0e6c235f9a28f724ce21bda7a9525a4dac03 (patch) | |
| tree | 4525ab827f6d7a88774c7a8088ab9f0a8a57b7cb /compiler/rustc_lint/src/lints.rs | |
| parent | 1b5ec3fa1d81c1e469e5bc1c29fa2bc0452697c3 (diff) | |
| download | rust-6ffd0e6c235f9a28f724ce21bda7a9525a4dac03.tar.gz rust-6ffd0e6c235f9a28f724ce21bda7a9525a4dac03.zip | |
Address review comments
Diffstat (limited to 'compiler/rustc_lint/src/lints.rs')
| -rw-r--r-- | compiler/rustc_lint/src/lints.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/rustc_lint/src/lints.rs b/compiler/rustc_lint/src/lints.rs index 0ef7b3c14ac..eebb9339e24 100644 --- a/compiler/rustc_lint/src/lints.rs +++ b/compiler/rustc_lint/src/lints.rs @@ -1359,10 +1359,12 @@ pub(crate) enum NonUpperCaseGlobalSub { #[primary_span] span: Span, }, - #[suggestion(lint_suggestion, code = "{replace}", applicability = "machine-applicable")] + #[suggestion(lint_suggestion, code = "{replace}")] Suggestion { #[primary_span] span: Span, + #[applicability] + applicability: Applicability, replace: String, }, } |
