about summary refs log tree commit diff
path: root/src/test/compile-fail/lambda-mutate-nested.rs
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2012-05-10 19:58:23 -0700
committerNiko Matsakis <niko@alum.mit.edu>2012-05-10 21:14:43 -0700
commitb4d1f1b2c11db370a2ef82646a4fdc091699e7b6 (patch)
treebbe84fc4da25c57bd46a1db0eea25624ca6f997f /src/test/compile-fail/lambda-mutate-nested.rs
parentc23d6a50d786e926d001423f36dc43fe480acbae (diff)
downloadrust-b4d1f1b2c11db370a2ef82646a4fdc091699e7b6.tar.gz
rust-b4d1f1b2c11db370a2ef82646a4fdc091699e7b6.zip
replace mutbl pass with borrowck
Diffstat (limited to 'src/test/compile-fail/lambda-mutate-nested.rs')
-rw-r--r--src/test/compile-fail/lambda-mutate-nested.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/lambda-mutate-nested.rs b/src/test/compile-fail/lambda-mutate-nested.rs
index 1f052679065..ecc56e6408b 100644
--- a/src/test/compile-fail/lambda-mutate-nested.rs
+++ b/src/test/compile-fail/lambda-mutate-nested.rs
@@ -1,4 +1,4 @@
-// error-pattern:assigning to upvar
+// error-pattern:assigning to immutable upvar
 // Make sure that nesting a block within a fn@ doesn't let us
 // mutate upvars from a fn@.
 fn f2(x: fn()) { x(); }