diff options
| author | Brian Anderson <banderson@mozilla.com> | 2013-05-09 17:36:45 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2013-05-13 12:13:56 -0700 |
| commit | fa1d0477edab6fa800eabd951d88f6bd12fbcfff (patch) | |
| tree | 1b4a07e68091f4c23e2422aa5662c1b5f3dd9c14 /src/test/compile-fail | |
| parent | 4f446244155984a6674f69ab6e9d49704ab0c20d (diff) | |
core: Move locks, atomic rc to unstable::sync
Diffstat (limited to 'src/test/compile-fail')
| -rw-r--r-- | src/test/compile-fail/noncopyable-match-pattern.rs | 2 |
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 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); } |
