about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-02-08 10:16:36 +0000
committerbors <bors@rust-lang.org>2024-02-08 10:16:36 +0000
commit5c80ad05aed33d754c0ed7ba7bafae088f73cf04 (patch)
tree31ca0bdf20547d8d9d5f7a4daee0d65bfabb9b01 /tests/codegen/patchable-function-entry
parentae89522928a93d8a7f64ebe4a485ca7d088c2829 (diff)
parent974e69b0c5e6455fb72061316b93026763375d86 (diff)
downloadrust-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')
0 files changed, 0 insertions, 0 deletions