Skip to content

Commit b27150e

Browse files
committed
test: Fix some run-fail bustage. rs=bustage
1 parent 219e260 commit b27150e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/test/run-fail/unwind-box-fn-unique.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ fn failfn() {
77
fn main() {
88
let y = ~0;
99
let x = @fn~() {
10-
log(error, y);
10+
log(error, copy y);
1111
};
1212
failfn();
1313
log(error, x);
14-
}
14+
}

src/test/run-fail/unwind-box-fn.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ fn failfn() {
77
fn main() {
88
let y = ~0;
99
let x = @fn@() {
10-
log(error, y);
10+
log(error, copy y);
1111
};
1212
failfn();
1313
log(error, x);
14-
}
14+
}

0 commit comments

Comments
 (0)