Skip to content

Commit 24aaddf

Browse files
committed
---
yaml --- r: 23222 b: refs/heads/master c: 2674f79 h: refs/heads/master v: v3
1 parent 84fc07d commit 24aaddf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: e79dd23ac1496d04d7ae447a67ae58ea744344f3
2+
refs/heads/master: 2674f7902fd68ccfb28fd86b6a0690f086e4b6cb
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
55
refs/heads/try: ffbe0e0e00374358b789b0037bcb3a577cd218be

trunk/src/test/compile-fail/kindck-implicit-close-over-mut-var.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ fn bar() {
1414
let mut i = 0;
1515
while i < 10 {
1616
do task::spawn {
17-
use(i); //~ ERROR mutable variables cannot be implicitly captured
17+
user(i); //~ ERROR mutable variables cannot be implicitly captured
1818
}
1919
i += 1;
2020
}
@@ -25,7 +25,7 @@ fn car() {
2525
let mut i = 0;
2626
while i < 10 {
2727
do task::spawn |copy i| {
28-
use(i);
28+
user(i);
2929
}
3030
i += 1;
3131
}

0 commit comments

Comments
 (0)