about summary refs log tree commit diff
path: root/src/libstd/rt
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-12-17 21:31:47 -0800
committerbors <bors@rust-lang.org>2013-12-17 21:31:47 -0800
commit09b8406638abca96fa6794b0263c1e7459234ecc (patch)
tree3063349e63d911fea64996a97ae8dac05fdb0781 /src/libstd/rt
parentac137f6dbe51429de203ea2e900b8bac01f466cb (diff)
parenteabf11b9cb1f1bddeb1208e5564e592d10e4b680 (diff)
downloadrust-09b8406638abca96fa6794b0263c1e7459234ecc.tar.gz
rust-09b8406638abca96fa6794b0263c1e7459234ecc.zip
auto merge of #11019 : alexcrichton/rust/issue-10545, r=pcwalton
This code in resolve accidentally forced all types with an impl to become
public. This fixes it by default inheriting the privacy of what was previously
there and then becoming `true` if nothing else exits.

Closes #10545
Diffstat (limited to 'src/libstd/rt')
-rw-r--r--src/libstd/rt/mpmc_bounded_queue.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/mpmc_bounded_queue.rs b/src/libstd/rt/mpmc_bounded_queue.rs
index 1e04e5eb78d..25a3ba8ab48 100644
--- a/src/libstd/rt/mpmc_bounded_queue.rs
+++ b/src/libstd/rt/mpmc_bounded_queue.rs
@@ -51,7 +51,7 @@ struct State<T> {
     pad3: [u8, ..64],
 }
 
-struct Queue<T> {
+pub struct Queue<T> {
     priv state: UnsafeArc<State<T>>,
 }