From 760733280521739bad5bd826235839498fdb8367 Mon Sep 17 00:00:00 2001 From: Edward Wang Date: Sat, 22 Feb 2014 04:04:03 +0800 Subject: Represent lifetimes as Names instead of Idents Closes #7743. --- src/libsyntax/parse/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsyntax/parse') diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 6cde22fad10..30e77c8c1cb 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -1596,7 +1596,7 @@ impl Parser { return ast::Lifetime { id: ast::DUMMY_NODE_ID, span: span, - ident: i + ident: i.name }; } _ => { -- cgit 1.4.1-3-g733a5