about summary refs log tree commit diff
path: root/src/test/compile-fail/noncopyable-match-pattern.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/noncopyable-match-pattern.rs')
-rw-r--r--src/test/compile-fail/noncopyable-match-pattern.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/noncopyable-match-pattern.rs b/src/test/compile-fail/noncopyable-match-pattern.rs
index 9f21d5a647a..d90e2f372a8 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(private::exclusive(false));
+    let x = Some(unstable::exclusive(false));
     match x {
         Some(copy z) => { //~ ERROR copying a value of non-copyable type
             do z.with |b| { assert !*b; }