Mark suggestion as MaybeIncorrect.

This commit is contained in:
Camille GILLOT 2022-08-23 00:09:58 +02:00
parent da9ccc2c98
commit dff428013d
1 changed files with 1 additions and 1 deletions

View File

@ -566,7 +566,7 @@ impl<'a> Resolver<'a> {
(span, snippet)
};
// Suggest the modification to the user
err.span_suggestion(span, sugg_msg, snippet, Applicability::MachineApplicable);
err.span_suggestion(span, sugg_msg, snippet, Applicability::MaybeIncorrect);
}
err