diff options
| author | bors <bors@rust-lang.org> | 2024-02-08 10:16:36 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-02-08 10:16:36 +0000 |
| commit | 5c80ad05aed33d754c0ed7ba7bafae088f73cf04 (patch) | |
| tree | 31ca0bdf20547d8d9d5f7a4daee0d65bfabb9b01 /tests/codegen/patchable-function-entry/patchable-function-entry-one-flag.rs | |
| parent | ae89522928a93d8a7f64ebe4a485ca7d088c2829 (diff) | |
| parent | 974e69b0c5e6455fb72061316b93026763375d86 (diff) | |
| download | rust-5c80ad05aed33d754c0ed7ba7bafae088f73cf04.tar.gz rust-5c80ad05aed33d754c0ed7ba7bafae088f73cf04.zip | |
Auto merge of #16124 - ohno418:call-expr-missing-arg, r=Veykril
fix: Recover from missing argument in call expressions 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. --- Fixes https://github.com/rust-lang/rust-analyzer/issues/15683.
Diffstat (limited to 'tests/codegen/patchable-function-entry/patchable-function-entry-one-flag.rs')
0 files changed, 0 insertions, 0 deletions
