about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-11-22 20:29:51 +0000
committerbors <bors@rust-lang.org>2018-11-22 20:29:51 +0000
commit00e03ee57446d47667e5adba77fca8c13bfe7535 (patch)
treec3192ee8a32c041b3d202da49f065071dca1980f /src/rustllvm/PassWrapper.cpp
parentc08840d5c3e6fa29b0fa734ad4405455f2e4c879 (diff)
parent5f2a173f75204e23737eef128edc74f88dba7f39 (diff)
downloadrust-00e03ee57446d47667e5adba77fca8c13bfe7535.tar.gz
rust-00e03ee57446d47667e5adba77fca8c13bfe7535.zip
Auto merge of #56143 - nikomatsakis:issue-56128-segment-id-ice-nightly, r=petrochenkov
Issue 56128 segment id ice nightly

Tentative fix for #56128

From what I can tell, the problem is that if you have `pub(super) use foo::{a, b}`, then when we explode the `a` and `b`, the segment ids from the `super` path were not getting cloned. However, once I fixed *that*, then I ran into a problem that the "visibility" node-ids were not present in the final HIR -- this is because the visibility of the "stem" that is returned in this case was getting reset to inherited. I don't *think* it is a problem to undo that, so that the visibility is returned unmodified.

Fixes #55475
Fixes #56128

cc @nrc @petrochenkov
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions