]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Do not assert insertion result
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Tue, 17 Sep 2024 14:15:40 +0000 (16:15 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Wed, 19 Mar 2025 14:32:14 +0000 (15:32 +0100)
commit193b66070ef07fe3c734b39faebf7ad2cf28bdee
tree1b4941ccb541505b6d42bd6871a05d5aba8c92b7
parent7b906c48a2c640f2f01fd128cd95cc671829f695
gccrs: Do not assert insertion result

We might have some duplicated name in some pattern and we should
therefore not assert the non duplication of identifiers.

gcc/rust/ChangeLog:

* resolve/rust-late-name-resolver-2.0.cc (Late::visit): Remove
assertion and explicitely tells why we ignore the insertion result.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/rust/resolve/rust-late-name-resolver-2.0.cc