Use consistent prose for ::

Co-authored-by: Camille Gillot <gillot.camille@gmail.com>
This commit is contained in:
Michael Howell 2022-03-12 08:20:36 -07:00
parent 7e323370b3
commit 26e299a4a7
3 changed files with 3 additions and 3 deletions

View file

@ -2080,7 +2080,7 @@ impl<'a> Parser<'a> {
// Find a mistake like "foo::var:A".
err.span_suggestion(
snapshot.token.span,
"you might have meant to write a path",
"write a path separator here",
"::".to_string(),
Applicability::MaybeIncorrect,
);