mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 20:09:19 +00:00
![]() Previously, when parsing an argument list with a missing argument (e.g., `(a, , b)` in `foo(a, , b)`), the parser would stop upon an unexpected token (at the second comma in the example), resulting in an incorrect parse tree. This commit improves error handling in such cases, ensuring a more accurate parse tree is built. |
||
---|---|---|
.. | ||
grammar | ||
syntax_kind | ||
tests | ||
event.rs | ||
grammar.rs | ||
input.rs | ||
lexed_str.rs | ||
lib.rs | ||
output.rs | ||
parser.rs | ||
shortcuts.rs | ||
syntax_kind.rs | ||
tests.rs | ||
token_set.rs |