]> git.ipfire.org Git - thirdparty/gcc.git/commit
Completely duplicate path node
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Fri, 25 Apr 2025 14:02:12 +0000 (16:02 +0200)
committerP-E-P <32375388+P-E-P@users.noreply.github.com>
Mon, 28 Apr 2025 11:08:30 +0000 (11:08 +0000)
commitb22c7d8df0b3adb17d26f302d192bef1816d5bca
tree86c4a94ebc7b07db29312ceee294fb3a83b350b4
parentee61e8917f0057e271177c5ad2e5a4a7c3ccdbaa
Completely duplicate path node

Both nodes had the same id, this led to a resolution conflict.

gcc/rust/ChangeLog:

* expand/rust-derive-clone.cc (DeriveClone::clone_enum_struct): Clone
path to avoid using the same nodeid.

gcc/testsuite/ChangeLog:

* rust/compile/nr2/exclude: Remove now passing test from exclusion
list.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/rust/expand/rust-derive-clone.cc
gcc/testsuite/rust/compile/nr2/exclude