Skip to content

Commit 0af9faf

Browse files
withoutboatsnikomatsakis
authored andcommitted
Fix mistake.
1 parent e826575 commit 0af9faf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/parse/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4390,7 +4390,7 @@ impl<'a> Parser<'a> {
43904390
*t == token::Gt || *t == token::Comma || *t == token::Colon
43914391
});
43924392
if gt_comma_or_colon {
4393-
self.err("syntax `where<T>` is reserved for future use");
4393+
self.span_err(self.span, "syntax `where<T>` is reserved for future use");
43944394
}
43954395
}
43964396
}

0 commit comments

Comments
 (0)