Skip to content

Commit 14e4b00

Browse files
committed
Fix mistake.
1 parent e93e00f commit 14e4b00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/parse/parser.rs

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

0 commit comments

Comments
 (0)