Switch non_upper_case_globals suggestions to being machine-applicable
This commit is contained in:
parent
4df9f2f841
commit
09d0a739f7
1 changed files with 2 additions and 2 deletions
|
|
@ -1359,7 +1359,7 @@ pub(crate) enum NonUpperCaseGlobalSub {
|
|||
#[primary_span]
|
||||
span: Span,
|
||||
},
|
||||
#[suggestion(lint_suggestion, code = "{replace}", applicability = "maybe-incorrect")]
|
||||
#[suggestion(lint_suggestion, code = "{replace}", applicability = "machine-applicable")]
|
||||
Suggestion {
|
||||
#[primary_span]
|
||||
span: Span,
|
||||
|
|
@ -1371,7 +1371,7 @@ pub(crate) enum NonUpperCaseGlobalSub {
|
|||
#[suggestion(
|
||||
lint_suggestion,
|
||||
code = "{replace}",
|
||||
applicability = "maybe-incorrect",
|
||||
applicability = "machine-applicable",
|
||||
style = "tool-only"
|
||||
)]
|
||||
pub(crate) struct NonUpperCaseGlobalSubTool {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue