about summary refs log tree commit diff
path: root/tests/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorYutaro Ohno <yutaro.ono.418@gmail.com>2023-12-08 19:05:27 +0900
committerLukas Wirth <lukastw97@gmail.com>2024-02-08 10:54:04 +0100
commite865d45904e1f2a60f81fa84288b15c696feee4c (patch)
treed12d98d00f85ba4e2084a01070f2b343359bd534 /tests/debuginfo/enum-thinlto.rs
parentbcc8a09a0db8428f12b557b164809d387f02845d (diff)
downloadrust-e865d45904e1f2a60f81fa84288b15c696feee4c.tar.gz
rust-e865d45904e1f2a60f81fa84288b15c696feee4c.zip
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.
Diffstat (limited to 'tests/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions