diff options
| author | Chayim Refael Friedman <chayimfr@gmail.com> | 2025-07-06 03:21:43 +0300 |
|---|---|---|
| committer | Chayim Refael Friedman <chayimfr@gmail.com> | 2025-07-06 03:21:43 +0300 |
| commit | f74e9b0ebfacf79e318077cf959f734a24a38e93 (patch) | |
| tree | 2bfd4e888748db4e91bae38b5f6d1a906a960b47 /tests/rustdoc-js-std/parser-errors.js | |
| parent | 4b506ca0e1821e71fd8a6c7434dc02b5bd432a34 (diff) | |
| download | rust-f74e9b0ebfacf79e318077cf959f734a24a38e93.tar.gz rust-f74e9b0ebfacf79e318077cf959f734a24a38e93.zip | |
Always bump in the parser in `err_and_bump()`
Even when at curly braces, otherwise the parser can get stuck. This has happened in the past in #18625, but it was just worked around instead of handling the root of the problem. Now this happened again in #20171. IMO we can't let `err_and_bump()` not bump, that's too confusing and invites errors. We can (as I did) workaround the worse recovery instead.
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions
