File tree 1 file changed +2
-2
lines changed
compiler/rustc_passes/src
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1739,7 +1739,7 @@ pub struct UnusedVariableTryPrefix {
1739
1739
1740
1740
#[ derive( Subdiagnostic ) ]
1741
1741
pub enum UnusedVariableSugg {
1742
- #[ multipart_suggestion( passes_suggestion, applicability = "machine-applicable " ) ]
1742
+ #[ multipart_suggestion( passes_suggestion, applicability = "maybe-incorrect " ) ]
1743
1743
TryPrefixSugg {
1744
1744
#[ suggestion_part( code = "_{name}" ) ]
1745
1745
spans : Vec < Span > ,
@@ -1778,7 +1778,7 @@ pub struct UnusedVarTryIgnore {
1778
1778
}
1779
1779
1780
1780
#[ derive( Subdiagnostic ) ]
1781
- #[ multipart_suggestion( passes_suggestion, applicability = "machine-applicable " ) ]
1781
+ #[ multipart_suggestion( passes_suggestion, applicability = "maybe-incorrect " ) ]
1782
1782
pub struct UnusedVarTryIgnoreSugg {
1783
1783
#[ suggestion_part( code = "{name}: _" ) ]
1784
1784
pub shorthands : Vec < Span > ,
You can’t perform that action at this time.
0 commit comments