diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-07-22 13:30:11 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-08-05 16:36:58 +0200 |
commit | 499a70699bcaff13998fa8eb6136c15dfa0b7f41 (patch) | |
tree | 22b7f8468ba7e3d6c1ecdeea9338182ba5fd8789 /gcc/rust/backend/rust-compile-pattern.cc | |
parent | ba00ed09766d9698136020418f12e59ccb656af7 (diff) | |
download | gcc-499a70699bcaff13998fa8eb6136c15dfa0b7f41.zip gcc-499a70699bcaff13998fa8eb6136c15dfa0b7f41.tar.gz gcc-499a70699bcaff13998fa8eb6136c15dfa0b7f41.tar.bz2 |
gccrs: desugar: Handle try-blocks
gcc/rust/ChangeLog:
* Make-lang.in: Compile it.
* ast/rust-expression-yeast.cc (ExpressionYeast::dispatch): Dispatch to try-block
desugar.
* ast/rust-desugar-try-block.cc: New file.
* ast/rust-desugar-try-block.h: New file.
gcc/testsuite/ChangeLog:
* rust/compile/try_block1.rs: New test.
Diffstat (limited to 'gcc/rust/backend/rust-compile-pattern.cc')
0 files changed, 0 insertions, 0 deletions