Skip to content

Commit a728c04

Browse files
committed
---
yaml --- r: 6864 b: refs/heads/master c: 28b825d h: refs/heads/master v: v3
1 parent 5b9eff2 commit a728c04

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 5cfcf20b25610ceebedf38d0d9e73bff3e11d002
2+
refs/heads/master: 28b825d8469c5b6f92f367cb4aae2ea2607bc886
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
// error-pattern:error: Variable 'x' captured more than once
1+
// error-pattern:Variable 'x' captured more than once
22
fn main() {
33
let x = 5;
44
let y = sendfn[move x; copy x]() -> int { x };
5-
}
5+
}

trunk/src/test/compile-fail/cap-clause-double-copy.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// error-pattern:error: Variable 'x' captured more than once
1+
// error-pattern:Variable 'x' captured more than once
22
fn main() {
33
let x = 5;
44
let y = sendfn[copy x, x]() -> int { x };

trunk/src/test/compile-fail/cap-clause-double-move.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// error-pattern: error: Variable 'x' captured more than once
1+
// error-pattern:Variable 'x' captured more than once
22
fn main() {
33
let x = 5;
44
let y = sendfn[move x, x]() -> int { x };

trunk/src/test/compile-fail/cap-clause-move-upvar.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// error-pattern: error: Upvars (like 'x') cannot be moved into a closure
1+
// error-pattern:Upvars (like 'x') cannot be moved into a closure
22
fn main() {
33
let x = 5;
44
let _y = sendfn[move x]() -> int {

0 commit comments

Comments
 (0)