We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e65c060 commit 61c3e4dCopy full SHA for 61c3e4d
compiler/rustc_parse/src/parser/stmt.rs
@@ -573,7 +573,7 @@ impl<'a> Parser<'a> {
573
if self.prev_token.is_integer_lit()
574
&& self.look_ahead(1, |token| token.is_integer_lit())
575
{
576
- // TODO(hkmatsumoto): Might be better to trigger
+ // FIXME(hkmatsumoto): Might be better to trigger
577
// this only when parsing an index expression.
578
err.span_suggestion_verbose(
579
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