Skip to content

Commit

Permalink
Make tidy test happy
Browse files Browse the repository at this point in the history
  • Loading branch information
hkmatsumoto committed May 16, 2023
1 parent 93ecfab commit c32ea0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compiler/rustc_parse/src/parser/stmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ impl<'a> Parser<'a> {
if self.prev_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.
err.span_suggestion_verbose(
self.token.span,
Expand Down
2 changes: 1 addition & 1 deletion tests/ui/suggestions/range-index-instead-of-colon.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ fn main() {
//~^ ERROR: expected one of
//~| HELP: you might have meant to make a slice with range index
//~| HELP: maybe write a path separator here
}
}

0 comments on commit c32ea0a

Please sign in to comment.