about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorBrian Anderson <banderson@mozilla.com>2012-09-18 14:51:40 -0700
committerBrian Anderson <banderson@mozilla.com>2012-09-18 15:23:57 -0700
commitd53cfd225a4e2b671b2b40b71725394c24fb1761 (patch)
treedd99d901bd30cb08d82d2d4d8c01d92e8f13b4aa /src/test
parent2ac64d91ac9df242c780d162863c8c0abce448b1 (diff)
downloadrust-d53cfd225a4e2b671b2b40b71725394c24fb1761.tar.gz
rust-d53cfd225a4e2b671b2b40b71725394c24fb1761.zip
core: Move Exclusive and SharedMutableState to the private mod
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 19ab57d537c..29cfe9423ff 100644
--- a/src/test/compile-fail/noncopyable-match-pattern.rs
+++ b/src/test/compile-fail/noncopyable-match-pattern.rs
@@ -1,5 +1,5 @@
 fn main() {
-    let x = Some(unsafe::exclusive(false));
+    let x = Some(private::exclusive(false));
     match x {
         Some(copy z) => { //~ ERROR copying a noncopyable value
             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 d3181a6b9cc..0140998355a 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
@@ -1,5 +1,5 @@
 fn main() {
-    let x = Some(unsafe::exclusive(true));
+    let x = Some(private::exclusive(true));
     match move x {
         Some(ref z) if z.with(|b| *b) => {
             do z.with |b| { assert *b; }