about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-08-22 03:11:29 -0700
committerbors <bors@rust-lang.org>2013-08-22 03:11:29 -0700
commit7e50260f13643e30acc01da374ca998022505e92 (patch)
treefefd5b9468d46006297b7ab71e1e568f46f995e9 /src/libsyntax/parse/parser.rs
parentb95c1356211a0b27150d6c91136130a7bedc1f6e (diff)
parent8aa47990da1a057f82183cc9a0edec05e34e56b2 (diff)
downloadrust-7e50260f13643e30acc01da374ca998022505e92.tar.gz
rust-7e50260f13643e30acc01da374ca998022505e92.zip
auto merge of #8626 : kballard/rust/issue-8615, r=catamorphism
Fixes #8615.
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 135f7162157..9aa2bf3f063 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -1127,7 +1127,6 @@ impl Parser {
         match *self.token {
             token::LIFETIME(*) => {
                 let lifetime = self.parse_lifetime();
-                self.bump();
                 return self.parse_ty_closure(sigil, Some(lifetime));
             }