core: Move Exclusive and SharedMutableState to the private mod

This commit is contained in:
Brian Anderson 2012-09-18 14:51:40 -07:00
parent 2ac64d91ac
commit d53cfd225a
9 changed files with 428 additions and 429 deletions

View file

@ -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; }