Skip to content

Commit 620ffe6

Browse files
authored
Rollup merge of #147310 - Jules-Bertholet:maybe-incorrect-pattern-typo, r=chenyukang
Mark `PatternTypo` suggestion as maybe incorrect Partial fix for #147303. `@rustbot` label A-diagnostics A-suggestion-diagnostics D-invalid-suggestion
2 parents ff86a7d + d5ba5c1 commit 620ffe6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_passes/src/errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1365,7 +1365,7 @@ pub(crate) struct UnusedVarAssignedOnly {
13651365
#[multipart_suggestion(
13661366
passes_unused_var_typo,
13671367
style = "verbose",
1368-
applicability = "machine-applicable"
1368+
applicability = "maybe-incorrect"
13691369
)]
13701370
pub(crate) struct PatternTypo {
13711371
#[suggestion_part(code = "{code}")]

0 commit comments

Comments
 (0)