about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-11-16 14:36:40 -0800
committerbors <bors@rust-lang.org>2013-11-16 14:36:40 -0800
commitb0e1318164f6b496c513a93fd745faabfd225ef5 (patch)
treef33caab27e888a5a774464b4f7a0b30d821ecfe7 /src/libsyntax/parse
parent90754ae9c95c18841c0200d77da917af5ecde5ee (diff)
parent2337d88339c10b485d4e121ffabc8d9a89431a82 (diff)
downloadrust-b0e1318164f6b496c513a93fd745faabfd225ef5.tar.gz
rust-b0e1318164f6b496c513a93fd745faabfd225ef5.zip
auto merge of #10420 : sanxiyn/rust/path, r=cmr
Fix #10283.
Diffstat (limited to 'src/libsyntax/parse')
-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.