From 5c38f7dfd7ccf2e57913500f8a7548b2b8de1932 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Wed, 19 Oct 2011 14:27:33 -0700 Subject: Don't allow fn@ items fn@ is intended to be caputring but isn't implemented. --- src/comp/syntax/parse/parser.rs | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/comp/syntax/parse') diff --git a/src/comp/syntax/parse/parser.rs b/src/comp/syntax/parse/parser.rs index 4d48fd3c653..2a980d3a07e 100644 --- a/src/comp/syntax/parse/parser.rs +++ b/src/comp/syntax/parse/parser.rs @@ -2139,9 +2139,6 @@ fn parse_fn_item_proto(p: parser) -> ast::proto { if p.peek() == token::POUND { p.bump(); ast::proto_bare - } else if p.peek() == token::AT { - p.bump(); - ast::proto_shared(ast::sugar_normal) } else { ast::proto_bare } -- cgit 1.4.1-3-g733a5