Fix mistake.
This commit is contained in:
parent
e93e00f3ae
commit
14e4b00933
1 changed files with 1 additions and 1 deletions
|
@ -4389,7 +4389,7 @@ impl<'a> Parser<'a> {
|
||||||
*t == token::Gt || *t == token::Comma || *t == token::Colon
|
*t == token::Gt || *t == token::Comma || *t == token::Colon
|
||||||
});
|
});
|
||||||
if gt_comma_or_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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue