File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/rustc_passes/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1739,7 +1739,7 @@ pub struct UnusedVariableTryPrefix {
17391739
17401740#[ derive( Subdiagnostic ) ]
17411741pub enum UnusedVariableSugg {
1742- #[ multipart_suggestion( passes_suggestion, applicability = "machine-applicable " ) ]
1742+ #[ multipart_suggestion( passes_suggestion, applicability = "maybe-incorrect " ) ]
17431743 TryPrefixSugg {
17441744 #[ suggestion_part( code = "_{name}" ) ]
17451745 spans : Vec < Span > ,
@@ -1778,7 +1778,7 @@ pub struct UnusedVarTryIgnore {
17781778}
17791779
17801780#[ derive( Subdiagnostic ) ]
1781- #[ multipart_suggestion( passes_suggestion, applicability = "machine-applicable " ) ]
1781+ #[ multipart_suggestion( passes_suggestion, applicability = "maybe-incorrect " ) ]
17821782pub struct UnusedVarTryIgnoreSugg {
17831783 #[ suggestion_part( code = "{name}: _" ) ]
17841784 pub shorthands : Vec < Span > ,
You can’t perform that action at this time.
0 commit comments