about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-02-22 22:01:54 -0800
committerbors <bors@rust-lang.org>2014-02-22 22:01:54 -0800
commitedf351e9f7d17777b1385093bfa7b6654e662d44 (patch)
treeb7bd97d19061101273e5a3e4f81624e11a7c16fc /src/libsyntax/parse/parser.rs
parent9b9e2f80d56e2e91a164d917b6a75699cd40cab5 (diff)
parent760733280521739bad5bd826235839498fdb8367 (diff)
downloadrust-edf351e9f7d17777b1385093bfa7b6654e662d44.tar.gz
rust-edf351e9f7d17777b1385093bfa7b6654e662d44.zip
auto merge of #12451 : edwardw/rust/ident-2-name, r=cmr
Closes #7743.
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs2
1 files changed, 1 insertions, 1 deletions
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
                 };
             }
             _ => {