Skip to content

Commit ddf08da

Browse files
committed
Fix const arguments grammar
1 parent 040b4c8 commit ddf08da

File tree

4 files changed

+335
-335
lines changed

4 files changed

+335
-335
lines changed

crates/ra_parser/src/grammar/type_args.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ fn type_arg(p: &mut Parser) {
5252
m.complete(p, CONST_ARG);
5353
}
5454
k if k.is_literal() => {
55-
p.bump(k);
55+
expressions::literal(p);
5656
m.complete(p, CONST_ARG);
5757
}
5858
_ => {

0 commit comments

Comments
 (0)