]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: ast: Fix warning about copy elision for moved expr
authorArthur Cohen <arthur.cohen@embecosm.com>
Thu, 26 Dec 2024 21:31:21 +0000 (21:31 +0000)
committerArthur Cohen <arthur.cohen@embecosm.com>
Fri, 21 Mar 2025 11:56:57 +0000 (12:56 +0100)
commit592540266306438fe61e8951cfc2df577dcf2112
tree7d7aa494b46d116434eb986e304cb17ef30cf315
parent3a82942eaa26060e02bcd1bafc6820d1399ac335
gccrs: ast: Fix warning about copy elision for moved expr

gcc/rust/ChangeLog:

* ast/rust-ast.cc (BlockExpr::normalize_tail_expr): Remove overzealous
std::move
gcc/rust/ast/rust-ast.cc