Change help message to make some sense in broader context
This commit is contained in:
parent
730d299354
commit
acec70de9b
3 changed files with 3 additions and 3 deletions
|
@ -578,7 +578,7 @@ impl<'a> Parser<'a> {
|
|||
// this only when parsing an index expression.
|
||||
err.span_suggestion_verbose(
|
||||
self.token.span,
|
||||
"you might have meant to make a slice with range index",
|
||||
"you might have meant a range expression",
|
||||
"..",
|
||||
Applicability::MaybeIncorrect,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue