mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-03 21:25:25 +00:00
fix: Improve parser recovery a bit
This commit is contained in:
parent
62e7e2b489
commit
e0dca847ad
15 changed files with 86 additions and 20 deletions
|
|
@ -285,8 +285,6 @@ fn main() {
|
|||
/* parse error: expected expression */
|
||||
builtin #format_args (x = );
|
||||
/* parse error: expected expression */
|
||||
/* parse error: expected R_PAREN */
|
||||
/* parse error: expected expression, item or let statement */
|
||||
builtin #format_args (x = , x = 2);
|
||||
/* parse error: expected expression */
|
||||
builtin #format_args ("{}", x = );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue