about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorKevin Ballard <kevin@sb.org>2013-08-19 14:55:35 -0700
committerKevin Ballard <kevin@sb.org>2013-08-19 14:55:35 -0700
commit8aa47990da1a057f82183cc9a0edec05e34e56b2 (patch)
treed2f9621ce4a868d81107748c6268ae91ad8b5a29 /src/libsyntax/parse
parent2246d56e7149402f18041d05e3c0ecf598671904 (diff)
downloadrust-8aa47990da1a057f82183cc9a0edec05e34e56b2.tar.gz
rust-8aa47990da1a057f82183cc9a0edec05e34e56b2.zip
Don't skip token after @'static
Fixes #8615.
Diffstat (limited to 'src/libsyntax/parse')
-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 de7abb8d1f4..d397616cd9f 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));
             }