Skip to content

Commit dbe5ae8

Browse files
committed
---
yaml --- r: 5849 b: refs/heads/master c: ac276f7 h: refs/heads/master i: 5847: 949a3cc v: v3
1 parent b9b9621 commit dbe5ae8

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 86735c0d7de911ca950839931324dd5b30dfea35
2+
refs/heads/master: ac276f7016625081def78c1c47ed896aa20054db

trunk/src/comp/syntax/parse/parser.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2147,6 +2147,9 @@ fn parse_fn_proto(p: parser) -> ast::proto {
21472147
if p.peek() == token::POUND {
21482148
p.bump();
21492149
ast::proto_bare
2150+
} else if p.peek() == token::AT {
2151+
p.bump();
2152+
ast::proto_fn
21502153
} else {
21512154
ast::proto_fn
21522155
}

0 commit comments

Comments
 (0)