core: Move Exclusive and SharedMutableState to the private mod
This commit is contained in:
parent
2ac64d91ac
commit
d53cfd225a
9 changed files with 428 additions and 429 deletions
|
|
@ -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; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue