about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index cfb4da87720..ad5da0b9289 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -1470,10 +1470,6 @@ impl Parser {
         let mut segments = ~[];
         loop {
             // First, parse an identifier.
-            match *self.token {
-                token::IDENT(*) => {}
-                _ => break,
-            }
             let identifier = self.parse_ident();
 
             // Next, parse a colon and bounded type parameters, if applicable.