diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2024-08-21 17:01:29 +0200 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2024-09-26 22:48:32 +0000 |
commit | 76131dd1d561bdc2064e9f91ed19c275d09e7166 (patch) | |
tree | 78a3936fa61eea0b80e35f37acc488c182687883 /gcc/input.h | |
parent | f899498e032260655fad98c83405d835b65b498f (diff) | |
download | gcc-76131dd1d561bdc2064e9f91ed19c275d09e7166.zip gcc-76131dd1d561bdc2064e9f91ed19c275d09e7166.tar.gz gcc-76131dd1d561bdc2064e9f91ed19c275d09e7166.tar.bz2 |
Fix missing error on duplicated nodes
When we tried to insert a shadowable node and another shadowable node has
been inserted before, we didn't emit any error if the node has already
been inserted previously and failed silently.
gcc/rust/ChangeLog:
* resolve/rust-rib.cc (Rib::insert): Emit an error when trying to
insert an already inserted node.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/input.h')
0 files changed, 0 insertions, 0 deletions