From 172bf3a03851fee9ddbc808c3a526744c138f767 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Mon, 9 Jul 2012 18:37:09 -0700 Subject: Back out recognition of caret for unsafe ptr. Decided to abandon #2826 mid way through. --- src/libsyntax/parse/parser.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/libsyntax/parse/parser.rs') diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 67cc265f7a0..b61aa2d5d90 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -503,8 +503,7 @@ class parser { } mt { ty_uniq(mt) } } - } else if self.token == token::BINOP(token::STAR) || - self.token == token::BINOP(token::CARET) { + } else if self.token == token::BINOP(token::STAR) { self.bump(); ty_ptr(self.parse_mt()) } else if self.token == token::LBRACE { -- cgit 1.4.1-3-g733a5