about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-08-02 08:24:14 +0000
committerbors <bors@rust-lang.org>2018-08-02 08:24:14 +0000
commit02a369a5c8a9be35ddfa17b8af1d51459c4a6bc6 (patch)
tree476ae2ee989e045e1e5a9256960c253d23877769 /src/rustllvm/PassWrapper.cpp
parentdb5476571d9b27c862b95c1e64764b0ac8980e23 (diff)
parent77f9aca2a3e30eb430ba5a506261ff126c2d3077 (diff)
downloadrust-02a369a5c8a9be35ddfa17b8af1d51459c4a6bc6.tar.gz
rust-02a369a5c8a9be35ddfa17b8af1d51459c4a6bc6.zip
Auto merge of #52890 - djrenren:test-visibility, r=petrochenkov
Reexport tests without polluting namespaces

This should fix issue #52557.

Basically now we gensym a new name for the test function and reexport that.
That way the test function's reexport name can't conflict because it was impossible for the test author to write it down.
We then use a `use` statement to expose the original name using the original visibility.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions