Mark suggestion as MaybeIncorrect.
This commit is contained in:
parent
da9ccc2c98
commit
dff428013d
1 changed files with 1 additions and 1 deletions
|
@ -566,7 +566,7 @@ impl<'a> Resolver<'a> {
|
||||||
(span, snippet)
|
(span, snippet)
|
||||||
};
|
};
|
||||||
// Suggest the modification to the user
|
// 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
|
err
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue