about summary refs log tree commit diff
path: root/src/test/compile-fail/lambda-mutate-nested.rs
diff options
context:
space:
mode:
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 944282a4deb..8b673e2b307 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 immutable variable declared in an outer block
+// error-pattern:assigning to captured outer immutable variable in a stack closure
 // Make sure that nesting a block within a fn@ doesn't let us
 // mutate upvars from a fn@.
 fn f2(x: fn()) { x(); }