diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-10-09 21:16:51 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-10-10 03:31:59 -0700 |
| commit | b0f6c29b4f10bafa59723714161a393a204f9c13 (patch) | |
| tree | fcadbdea7b65405f84ca69d28ba7e278f7a40300 /src/test/codegen/stack-alloc-string-slice.rs | |
| parent | 4fd7f852e131ad8c9935fd9577c071be5b4635ec (diff) | |
| download | rust-b0f6c29b4f10bafa59723714161a393a204f9c13.tar.gz rust-b0f6c29b4f10bafa59723714161a393a204f9c13.zip | |
Use the result of privacy for reachability
This fixes a bug in which the visibility rules were approximated by reachability, but forgot to cover the case where a 'pub use' reexports a private item. This fixes the commit by instead using the results of the privacy pass of the compiler to create the initial working set of the reachability pass. This may have the side effect of increasing the size of metadata, but it's difficult to avoid for correctness purposes sadly. Closes #9790
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.rs')
0 files changed, 0 insertions, 0 deletions
