]> git.ipfire.org Git - thirdparty/gcc.git/commit
ast: Add base for desugaring try expressions
authorArthur Cohen <arthur.cohen@embecosm.com>
Wed, 22 Jan 2025 17:20:37 +0000 (17:20 +0000)
committerCohenArthur <arthur.cohen@embecosm.com>
Wed, 26 Feb 2025 16:00:58 +0000 (16:00 +0000)
commit950a19345184306f09d0018c83828b0445d8f5a2
treeff32aecab37dc08c3ae2c7dbf184de174b3c9e53
parent3ebd4c90f8c912ec53e229e506d458c3ca3cd9a1
ast: Add base for desugaring try expressions

gcc/rust/ChangeLog:

* Make-lang.in: Compile it.
* ast/rust-desugar-question-mark.cc: New file.
* ast/rust-desugar-question-mark.h: New file.

gcc/testsuite/ChangeLog:

* rust/compile/try-expr1.rs: New test.
gcc/rust/Make-lang.in
gcc/rust/ast/rust-desugar-question-mark.cc [new file with mode: 0644]
gcc/rust/ast/rust-desugar-question-mark.h [new file with mode: 0644]
gcc/testsuite/rust/compile/try-expr1.rs [new file with mode: 0644]