1 2 3 4 5 6 7 8 9
fn main() { let x = Some(private::exclusive(false)); match x { Some(copy z) => { //~ ERROR copying a noncopyable value do z.with |b| { assert !*b; } } None => fail } }