about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-04-14 17:49:26 +0200
committerGitHub <noreply@github.com>2019-04-14 17:49:26 +0200
commit9506f62a7ab10629f10926f2bad8bd7e78e755a8 (patch)
tree611ef7727c62cd6efd63a47d08d6a7d8b761e802 /src/rustllvm/RustWrapper.cpp
parent271eb8fc5a420280937bb1745f1e7aee7901ad26 (diff)
parentdbc7042bfe690d55cbcd40e75851efd8af9bb34e (diff)
downloadrust-9506f62a7ab10629f10926f2bad8bd7e78e755a8.tar.gz
rust-9506f62a7ab10629f10926f2bad8bd7e78e755a8.zip
Rollup merge of #59936 - petrochenkov:confict, r=davidtwco
Fix cross-crate visibility of fictive variant constructors

After merging https://github.com/rust-lang/rust/pull/59376 I realized that the code in the decoder wasn't entirely correct - we "decoded" fictive variant constructors with their variant's visibility, which could be public, rather than demoted to `pub(crate)`.

Fictive constructors are not directly usable in expression/patterns, but the effect still can be observed with imports.

r? @davidtwco
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions