diff options
| author | Flavio Percoco <flaper87@gmail.com> | 2014-12-22 12:29:46 +0100 |
|---|---|---|
| committer | Flavio Percoco <flaper87@gmail.com> | 2014-12-26 17:26:33 +0100 |
| commit | e2116c8fba6e73bc2bbf7cb6bb41911d4daed043 (patch) | |
| tree | 5484f1e0a4b7dfad3f2a363e5db1a39c9b50ccc9 /src/test | |
| parent | f436f9ca2963e33cc41802370bb9c551c833970e (diff) | |
| download | rust-e2116c8fba6e73bc2bbf7cb6bb41911d4daed043.tar.gz rust-e2116c8fba6e73bc2bbf7cb6bb41911d4daed043.zip | |
Move RacyCell to `std::comm`
RacyCell is not exactly what we'd like as a final implementation for this. Therefore, we're moving it under `std::comm` and also making it private.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/run-pass/issue-17718-static-unsafe-interior.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/run-pass/issue-17718-static-unsafe-interior.rs b/src/test/run-pass/issue-17718-static-unsafe-interior.rs index 17dd6d69fd4..82bfdb0612a 100644 --- a/src/test/run-pass/issue-17718-static-unsafe-interior.rs +++ b/src/test/run-pass/issue-17718-static-unsafe-interior.rs @@ -9,7 +9,8 @@ // except according to those terms. use std::kinds::marker; -use std::cell::{UnsafeCell, RacyCell}; +use std::comm::RacyCell; +use std::cell::UnsafeCell; struct MyUnsafe<T> { value: RacyCell<T> |
