We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e826575 commit 0af9fafCopy full SHA for 0af9faf
src/libsyntax/parse/parser.rs
@@ -4390,7 +4390,7 @@ impl<'a> Parser<'a> {
4390
*t == token::Gt || *t == token::Comma || *t == token::Colon
4391
});
4392
if gt_comma_or_colon {
4393
- self.err("syntax `where<T>` is reserved for future use");
+ self.span_err(self.span, "syntax `where<T>` is reserved for future use");
4394
}
4395
4396
0 commit comments