about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorMichael Sullivan <sully@msully.net>2012-07-14 00:31:15 -0700
committerMichael Sullivan <sully@msully.net>2012-07-14 01:03:44 -0700
commite2af78560696384d169040d3e94d6d50f572f318 (patch)
tree40fff70566dd3a6e9917d5c66211c9969da621db /src/libsyntax/parse/parser.rs
parent92743dc2a6a14d042d4b278e4a4dde5ca198c886 (diff)
downloadrust-e2af78560696384d169040d3e94d6d50f572f318.tar.gz
rust-e2af78560696384d169040d3e94d6d50f572f318.zip
Make the new world order normative. Closes #2908.
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index 1c34894eb98..a19ea2d25e9 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -654,21 +654,12 @@ class parser {
         if self.token == token::BINOP(token::SLASH) {
             self.bump();
             alt copy self.token {
-              token::AT {
-                self.bump(); some(vstore_box)
-              }
-              token::TILDE {
-                self.bump(); some(vstore_uniq)
-              }
               token::UNDERSCORE {
                 self.bump(); some(vstore_fixed(none))
               }
               token::LIT_INT_UNSUFFIXED(i) if i >= 0i64 {
                 self.bump(); some(vstore_fixed(some(i as uint)))
               }
-              token::BINOP(token::AND) {
-                some(vstore_slice(self.parse_region()))
-              }
               _ {
                 none
               }