diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-10-19 14:27:33 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-10-20 18:23:48 -0700 |
| commit | 5c38f7dfd7ccf2e57913500f8a7548b2b8de1932 (patch) | |
| tree | 8ed39b65d5bddf039fb4443e7dc0048098af1f5f /src | |
| parent | 9efdd0f3262ee30e614c14577dcc979a9ad68036 (diff) | |
| download | rust-5c38f7dfd7ccf2e57913500f8a7548b2b8de1932.tar.gz rust-5c38f7dfd7ccf2e57913500f8a7548b2b8de1932.zip | |
Don't allow fn@ items
fn@ is intended to be caputring but isn't implemented.
Diffstat (limited to 'src')
| -rw-r--r-- | src/comp/syntax/parse/parser.rs | 3 |
1 files changed, 0 insertions, 3 deletions
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 } |
