We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93ecfab commit c32ea0aCopy full SHA for c32ea0a
compiler/rustc_parse/src/parser/stmt.rs
@@ -569,7 +569,7 @@ impl<'a> Parser<'a> {
569
if self.prev_token.is_integer_lit()
570
&& self.look_ahead(1, |token| token.is_integer_lit())
571
{
572
- // TODO(hkmatsumoto): Might be better to trigger
+ // FIXME(hkmatsumoto): Might be better to trigger
573
// this only when parsing an index expression.
574
err.span_suggestion_verbose(
575
self.token.span,
tests/ui/suggestions/range-index-instead-of-colon.rs
@@ -5,4 +5,4 @@ fn main() {
5
//~^ ERROR: expected one of
6
//~| HELP: you might have meant to make a slice with range index
7
//~| HELP: maybe write a path separator here
8
-}
+}
0 commit comments