]> git.lizzy.rs Git - rust.git/blobdiff - src/test/auxiliary/issue-2526.rs
Fix the fallout
[rust.git] / src / test / auxiliary / issue-2526.rs
index e57c6dc718492239192883f86bdf39186cabb0ed..3d777d01d502733a3c8bd539faff6d8d011a30a0 100644 (file)
@@ -13,7 +13,7 @@
 
 use std::marker;
 
-struct arc_destruct<T: Sync> {
+pub struct arc_destruct<T: Sync> {
     _data: isize,
     _marker: marker::PhantomData<T>
 }
@@ -37,7 +37,7 @@ fn init() -> arc_destruct<context_res> {
     arc(context_res())
 }
 
-struct context_res {
+pub struct context_res {
     ctx : isize,
 }