mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 05:51:58 +00:00
Mark suggestion as MaybeIncorrect.
This commit is contained in:
parent
da9ccc2c98
commit
dff428013d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user