diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-05-31 13:36:18 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-06-05 10:38:02 +1000 |
| commit | af13b4892786a3f77d440016409414eeadd7d37e (patch) | |
| tree | cd91b43c646c63591e2bfa375c6d10ef95316aed /compiler/rustc_parse/src/parser | |
| parent | 3c321b9ea8706ca0b8e05222b82100bad8da805e (diff) | |
| download | rust-af13b4892786a3f77d440016409414eeadd7d37e.tar.gz rust-af13b4892786a3f77d440016409414eeadd7d37e.zip | |
Improve `panictry_buffer!`.
- Convert it from a macro to a function, which is nicer. - Rename it as `unwrap_or_emit_fatal`, which is clearer. - Fix the comment. In particular, `panictry!` no longer exists. - Remove the unnecessary `use` declaration.
Diffstat (limited to 'compiler/rustc_parse/src/parser')
0 files changed, 0 insertions, 0 deletions
