Skip to content

Commit c32ea0a

Browse files
committed
Make tidy test happy
1 parent 93ecfab commit c32ea0a

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
@@ -569,7 +569,7 @@ impl<'a> Parser<'a> {
569569
if self.prev_token.is_integer_lit()
570570
&& self.look_ahead(1, |token| token.is_integer_lit())
571571
{
572-
// TODO(hkmatsumoto): Might be better to trigger
572+
// FIXME(hkmatsumoto): Might be better to trigger
573573
// this only when parsing an index expression.
574574
err.span_suggestion_verbose(
575575
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)