about summary refs log tree commit diff
path: root/compiler/rustc_parse/src/parser
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2024-05-31 13:36:18 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2024-06-05 10:38:02 +1000
commitaf13b4892786a3f77d440016409414eeadd7d37e (patch)
treecd91b43c646c63591e2bfa375c6d10ef95316aed /compiler/rustc_parse/src/parser
parent3c321b9ea8706ca0b8e05222b82100bad8da805e (diff)
downloadrust-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