We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
non_upper_case_globals
1 parent 4df9f2f commit 09d0a73Copy full SHA for 09d0a73
compiler/rustc_lint/src/lints.rs
@@ -1359,7 +1359,7 @@ pub(crate) enum NonUpperCaseGlobalSub {
1359
#[primary_span]
1360
span: Span,
1361
},
1362
- #[suggestion(lint_suggestion, code = "{replace}", applicability = "maybe-incorrect")]
+ #[suggestion(lint_suggestion, code = "{replace}", applicability = "machine-applicable")]
1363
Suggestion {
1364
1365
@@ -1371,7 +1371,7 @@ pub(crate) enum NonUpperCaseGlobalSub {
1371
#[suggestion(
1372
lint_suggestion,
1373
code = "{replace}",
1374
- applicability = "maybe-incorrect",
+ applicability = "machine-applicable",
1375
style = "tool-only"
1376
)]
1377
pub(crate) struct NonUpperCaseGlobalSubTool {
0 commit comments