diff options
| author | bors <bors@rust-lang.org> | 2017-02-02 05:10:40 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-02-02 05:10:40 +0000 |
| commit | 1b6b20ac173eeb9ee50077a3e7614b37299cdbb7 (patch) | |
| tree | d5b97e4dc9ef2a5a9485b18d1aaa664320568bca /src/rustllvm/RustWrapper.cpp | |
| parent | 2a6f7e41fc89ff1070f9d57cff526d9989481e29 (diff) | |
| parent | d38a8ad488047b8acdeed44bb7c67dc776324624 (diff) | |
| download | rust-1b6b20ac173eeb9ee50077a3e7614b37299cdbb7.tar.gz rust-1b6b20ac173eeb9ee50077a3e7614b37299cdbb7.zip | |
Auto merge of #38932 - petrochenkov:privctor, r=jseyfried
Privatize constructors of tuple structs with private fields This PR implements the strictest version of such "privatization" - it just sets visibilities for struct constructors, this affects everything including imports. ``` visibility(struct_ctor) = min(visibility(struct), visibility(field_1), ..., visibility(field_N)) ``` Needs crater run before proceeding. Resolves https://github.com/rust-lang/rfcs/issues/902 r? @nikomatsakis
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
