Skip to content

Commit dff4280

Browse files
committed
Mark suggestion as MaybeIncorrect.
1 parent da9ccc2 commit dff4280

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_resolve/src/diagnostics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ impl<'a> Resolver<'a> {
566566
(span, snippet)
567567
};
568568
// Suggest the modification to the user
569-
err.span_suggestion(span, sugg_msg, snippet, Applicability::MachineApplicable);
569+
err.span_suggestion(span, sugg_msg, snippet, Applicability::MaybeIncorrect);
570570
}
571571

572572
err

0 commit comments

Comments
 (0)