about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2018-07-19 13:23:19 -0400
committerNiko Matsakis <niko@alum.mit.edu>2018-07-21 19:07:47 +0300
commit4fd5aed55132eb4a65464c5018c106614d8d5504 (patch)
treedbe905d5821813034dc8d2ff6b3a30985af1b0e8 /src/rustllvm/RustWrapper.cpp
parent0fc4501256b002aef627880a9f6d18065b0ca931 (diff)
downloadrust-4fd5aed55132eb4a65464c5018c106614d8d5504.tar.gz
rust-4fd5aed55132eb4a65464c5018c106614d8d5504.zip
do not overwrite child def-id in place but rather remove/insert
When inserting a node N into the tree of impls, we sometimes find than
an existing node C should be replaced with N. We used to overwrite C
in place with the new def-id N -- but since the lists of def-ids are
separated by simplified type, that could lead to N being inserted in
the wrong place. This meant we might miss conflicts. We are now not
trying to be so smart -- we remove C and then add N later.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions