mirror of https://github.com/rust-lang/rust.git
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