From 8e1f1e3b5208873e94f6de95c1f0f0b690a7aa89 Mon Sep 17 00:00:00 2001 From: Graydon Hoare Date: Tue, 14 Aug 2012 12:53:45 -0700 Subject: [PATCH] Dodge 'use' keyword in testsuite. Was burning tree. --- src/test/compile-fail/kindck-implicit-close-over-mut-var.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/compile-fail/kindck-implicit-close-over-mut-var.rs b/src/test/compile-fail/kindck-implicit-close-over-mut-var.rs index 7e478757404..2de895313c6 100644 --- a/src/test/compile-fail/kindck-implicit-close-over-mut-var.rs +++ b/src/test/compile-fail/kindck-implicit-close-over-mut-var.rs @@ -1,10 +1,10 @@ -fn use(_i: int) {} +fn user(_i: int) {} fn foo() { // Here, i is *moved* into the closure: Not actually OK let mut i = 0; do task::spawn { - use(i); //~ ERROR mutable variables cannot be implicitly captured + user(i); //~ ERROR mutable variables cannot be implicitly captured } }