Back out recognition of caret for unsafe ptr. Decided to abandon #2826 mid way through.
This commit is contained in:
parent
f0fe08f1c8
commit
172bf3a038
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user