about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-05-13 14:49:48 -0700
committerbors <bors@rust-lang.org>2013-05-13 14:49:48 -0700
commitad5bfd600d1611c9d1bb933a383d0db2fa0ee7bf (patch)
tree5f4639e6b344a37bb62b08d5440e441d5e957ece /src/test
parent3abc5b3ffb87b51931594f9ce953af648aad342e (diff)
parent369231beb4b29a16c27bcc2c4f9a5679b613ed19 (diff)
downloadrust-ad5bfd600d1611c9d1bb933a383d0db2fa0ee7bf.tar.gz
rust-ad5bfd600d1611c9d1bb933a383d0db2fa0ee7bf.zip
auto merge of #6387 : brson/rust/unstable, r=brson
r? @pcwalton

* Move `SharedMutableState`, `LittleLock`, and `Exclusive` from `core::unstable` to `core::unstable::sync`
* Modernize the `SharedMutableState` interface with methods
* Rename `SharedMutableState` to `UnsafeAtomicRcBox` to match `RcBox`.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/compile-fail/noncopyable-match-pattern.rs2
-rw-r--r--src/test/run-pass/alt-ref-binding-in-guard-3256.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/noncopyable-match-pattern.rs b/src/test/compile-fail/noncopyable-match-pattern.rs
index e8b01765a44..155b3981483 100644
--- a/src/test/compile-fail/noncopyable-match-pattern.rs
+++ b/src/test/compile-fail/noncopyable-match-pattern.rs
@@ -9,7 +9,7 @@
 // except according to those terms.
 
 fn main() {
-    let x = Some(unstable::exclusive(false));
+    let x = Some(unstable::sync::exclusive(false));
     match x {
         Some(copy z) => { //~ ERROR copying a value of non-copyable type
             do z.with |b| { assert!(!*b); }
diff --git a/src/test/run-pass/alt-ref-binding-in-guard-3256.rs b/src/test/run-pass/alt-ref-binding-in-guard-3256.rs
index 1ece3b5fd93..ed7a6316374 100644
--- a/src/test/run-pass/alt-ref-binding-in-guard-3256.rs
+++ b/src/test/run-pass/alt-ref-binding-in-guard-3256.rs
@@ -9,7 +9,7 @@
 // except according to those terms.
 
 pub fn main() {
-    let x = Some(unstable::exclusive(true));
+    let x = Some(unstable::sync::exclusive(true));
     match x {
         Some(ref z) if z.with(|b| *b) => {
             do z.with |b| { assert!(*b); }