1
Fork 0

Make resolve suggestion more generic

This commit is contained in:
Esteban Küber 2022-12-27 12:16:25 -08:00
parent 0c0685bb68
commit 7e84273b7f
2 changed files with 2 additions and 2 deletions

View file

@ -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,
))