Skip to content

Commit 5c38f7d

Browse files
committed
Don't allow fn@ items
fn@ is intended to be caputring but isn't implemented.
1 parent 9efdd0f commit 5c38f7d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/comp/syntax/parse/parser.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2139,9 +2139,6 @@ fn parse_fn_item_proto(p: parser) -> ast::proto {
21392139
if p.peek() == token::POUND {
21402140
p.bump();
21412141
ast::proto_bare
2142-
} else if p.peek() == token::AT {
2143-
p.bump();
2144-
ast::proto_shared(ast::sugar_normal)
21452142
} else {
21462143
ast::proto_bare
21472144
}

0 commit comments

Comments
 (0)