Make resolve suggestion more generic
This commit is contained in:
parent
0c0685bb68
commit
7e84273b7f
2 changed files with 2 additions and 2 deletions
|
@ -3354,7 +3354,7 @@ impl<'a: 'ast, 'b, 'ast> LateResolutionVisitor<'a, 'b, 'ast> {
|
|||
}
|
||||
Some((
|
||||
span,
|
||||
"you might have meant to write a method call instead of a range",
|
||||
"you might have meant to write `.` instead of `..`",
|
||||
sugg.to_string(),
|
||||
Applicability::MaybeIncorrect,
|
||||
))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue