]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Improve ErrorPropagationExpr handling
authorOwen Avery <powerboat9.gamer@gmail.com>
Thu, 2 Oct 2025 22:21:46 +0000 (18:21 -0400)
committerArthur Cohen <arthur.cohen@embecosm.com>
Thu, 30 Oct 2025 20:31:02 +0000 (21:31 +0100)
commit75677b21ed557cd9cd5f9aa569c0b42d7df8230f
treefb84b4436d09efa1108a93ae40286893cf5b735f
parent50f8401aaf599a661c319ad04c3fd7953d723b27
gccrs: Improve ErrorPropagationExpr handling

gcc/rust/ChangeLog:

* ast/rust-ast-pointer-visitor.cc (PointerVisitor::visit):
Handle the expression contained in an ErrorPropagationExpr.
* ast/rust-ast-visitor.cc (DefaultASTVisitor::visit): Likewise.

Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
gcc/rust/ast/rust-ast-pointer-visitor.cc
gcc/rust/ast/rust-ast-visitor.cc