about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2019-03-24 15:32:49 +0800
committerkennytm <kennytm@gmail.com>2019-03-24 19:00:04 +0800
commit1d286f7918307f1b2bfa9a157070cc99c0465f30 (patch)
treeff1b09ca82c6e52a7e749cce99b669233b2e0309 /src/test/ui/thinlto
parent42b7d2c170bfe1623e63ff913bf2d2ac4d059bc1 (diff)
parent30d5dc9a0ac48b7fae1e5ca79987fa004b00eec1 (diff)
downloadrust-1d286f7918307f1b2bfa9a157070cc99c0465f30.tar.gz
rust-1d286f7918307f1b2bfa9a157070cc99c0465f30.zip
Rollup merge of #59296 - petrochenkov:stdup, r=estebank
Do not encode gensymed imports in metadata

(Unless they are underscore `_` imports which are re-gensymed on crate loading, see https://github.com/rust-lang/rust/pull/56392.)

We cannot encode gensymed imports properly in metadata and if we encode them improperly, we can get erroneous name conflicts downstream.
Gensymed imports are produced by the compiler, so we control their set, and can be sure that none of them needs being encoded for use from other crates.

A workaround that fixes https://github.com/rust-lang/rust/issues/59243.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions