libsyntax: Stop parsing old lifetime syntax
This commit is contained in:
parent
66770d20b3
commit
e2fde83ce4
2 changed files with 5 additions and 4 deletions
|
@ -910,6 +910,7 @@ pub impl Parser {
|
|||
&& self.look_ahead(1u) == token::BINOP(token::AND)
|
||||
{
|
||||
self.bump(); self.bump();
|
||||
self.obsolete(*self.last_span, ObsoleteLifetimeNotation);
|
||||
match *self.token {
|
||||
token::IDENT(sid, _) => {
|
||||
let span = copy self.span;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue