]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Refactor return statements
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Thu, 21 Aug 2025 12:58:25 +0000 (14:58 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Thu, 30 Oct 2025 19:58:42 +0000 (20:58 +0100)
commit0e192e5489b21b482348849d0069e429bd2cf10a
tree0293dd827401b149571445c2ba44203dd06ff3e2
parent5c43f87cc16b7e5b596ef24cd8e7f0a59ad95789
gccrs: Refactor return statements

gcc/rust/ChangeLog:

* typecheck/rust-coercion.cc (TypeCoercionRules::do_coercion): Refactor
common return statement.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/rust/typecheck/rust-coercion.cc