test: Fix alt-implicit-copy-unique. rs=me
This commit is contained in:
parent
e1685dd990
commit
674b638385
@ -1,7 +1,7 @@
|
||||
fn main() {
|
||||
let x = ~{mut a: ~10, b: ~20};
|
||||
match x {
|
||||
~{a: ref mut a, b: ref mut b} => {
|
||||
~{a: ref mut a, b: ref b} => {
|
||||
assert **a == 10; (*x).a = ~30; assert **a == 30;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user