Don't allow fn@ items
fn@ is intended to be caputring but isn't implemented.
This commit is contained in:
parent
9efdd0f326
commit
5c38f7dfd7
1 changed files with 0 additions and 3 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue