about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-10-09 21:16:51 -0700
committerAlex Crichton <alex@alexcrichton.com>2013-10-10 03:31:59 -0700
commitb0f6c29b4f10bafa59723714161a393a204f9c13 (patch)
treefcadbdea7b65405f84ca69d28ba7e278f7a40300 /src/test/codegen/stack-alloc-string-slice.rs
parent4fd7f852e131ad8c9935fd9577c071be5b4635ec (diff)
downloadrust-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