Skip to content

Commit 05ab83e

Browse files
committed
parser comment
1 parent 975f264 commit 05ab83e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libsyntax/parse/parser.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2496,6 +2496,7 @@ pub impl Parser {
24962496
@ast::pat { id: self.get_id(), node: pat, span: mk_sp(lo, hi) }
24972497
}
24982498

2499+
// parse ident or ident @ pat
24992500
// used by the copy foo and ref foo patterns to give a good
25002501
// error message when parsing mistakes like ref foo(a,b)
25012502
fn parse_pat_ident(&self,

0 commit comments

Comments
 (0)