Files
rust/compiler/rustc_parse
Jonathan Brouwer 4cce8bcdc8 Rollup merge of #156635 - bb1yd:rename_unexpected_try_recover, r=JohnTitor
rename unexpected_try_recover function

While reading the code, the doc comment and the name of the function `unexpected_try_recover` confused me. The doc said it tries to recover if it is a closing delimiter but I see no recovering code and the function always return an error.

So I change the name of the function to `unexpected_err` and change the return value to `Diag<'a>`. I also update the doc comment.
2026-05-17 15:52:42 +02:00
..
2026-04-08 21:09:07 +02:00