1
Fork 0

Fix mistake.

This commit is contained in:
Without Boats 2016-12-09 21:17:58 -08:00
parent e93e00f3ae
commit 14e4b00933

View file

@ -4389,7 +4389,7 @@ impl<'a> Parser<'a> {
*t == token::Gt || *t == token::Comma || *t == token::Colon
});
if gt_comma_or_colon {
self.err("syntax `where<T>` is reserved for future use");
self.span_err(self.span, "syntax `where<T>` is reserved for future use");
}
}
}