Make tidy test happy
This commit is contained in:
parent
e65c060d78
commit
61c3e4d56e
2 changed files with 2 additions and 2 deletions
|
@ -573,7 +573,7 @@ impl<'a> Parser<'a> {
|
||||||
if self.prev_token.is_integer_lit()
|
if self.prev_token.is_integer_lit()
|
||||||
&& self.look_ahead(1, |token| token.is_integer_lit())
|
&& self.look_ahead(1, |token| token.is_integer_lit())
|
||||||
{
|
{
|
||||||
// TODO(hkmatsumoto): Might be better to trigger
|
// FIXME(hkmatsumoto): Might be better to trigger
|
||||||
// this only when parsing an index expression.
|
// this only when parsing an index expression.
|
||||||
err.span_suggestion_verbose(
|
err.span_suggestion_verbose(
|
||||||
self.token.span,
|
self.token.span,
|
||||||
|
|
|
@ -5,4 +5,4 @@ fn main() {
|
||||||
//~^ ERROR: expected one of
|
//~^ ERROR: expected one of
|
||||||
//~| HELP: you might have meant to make a slice with range index
|
//~| HELP: you might have meant to make a slice with range index
|
||||||
//~| HELP: maybe write a path separator here
|
//~| HELP: maybe write a path separator here
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue