mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
Fix const arguments grammar
This commit is contained in:
parent
040b4c800d
commit
ddf08daddf
4 changed files with 264 additions and 264 deletions
|
@ -52,7 +52,7 @@ fn type_arg(p: &mut Parser) {
|
|||
m.complete(p, CONST_ARG);
|
||||
}
|
||||
k if k.is_literal() => {
|
||||
p.bump(k);
|
||||
expressions::literal(p);
|
||||
m.complete(p, CONST_ARG);
|
||||
}
|
||||
_ => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue