May include ansi escape code for color rendering on certain terminal.
-// error-pattern:error: Variable 'x' captured more than once
+// error-pattern:Variable 'x' captured more than once
fn main() {
let x = 5;
let y = sendfn[move x; copy x]() -> int { x };
-}
\ No newline at end of file
+}
-// error-pattern:error: Variable 'x' captured more than once
+// error-pattern:Variable 'x' captured more than once
fn main() {
let x = 5;
let y = sendfn[copy x, x]() -> int { x };
-// error-pattern: error: Variable 'x' captured more than once
+// error-pattern:Variable 'x' captured more than once
fn main() {
let x = 5;
let y = sendfn[move x, x]() -> int { x };
-// error-pattern: error: Upvars (like 'x') cannot be moved into a closure
+// error-pattern:Upvars (like 'x') cannot be moved into a closure
fn main() {
let x = 5;
let _y = sendfn[move x]() -> int {