Skip to content

Commit 61c3e4d

Browse files
committed
Make tidy test happy
1 parent e65c060 commit 61c3e4d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_parse/src/parser/stmt.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ impl<'a> Parser<'a> {
573573
if self.prev_token.is_integer_lit()
574574
&& self.look_ahead(1, |token| token.is_integer_lit())
575575
{
576-
// TODO(hkmatsumoto): Might be better to trigger
576+
// FIXME(hkmatsumoto): Might be better to trigger
577577
// this only when parsing an index expression.
578578
err.span_suggestion_verbose(
579579
self.token.span,

tests/ui/suggestions/range-index-instead-of-colon.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ fn main() {
55
//~^ ERROR: expected one of
66
//~| HELP: you might have meant to make a slice with range index
77
//~| HELP: maybe write a path separator here
8-
}
8+
}

0 commit comments

Comments
 (0)