diff options
Diffstat (limited to 'src/test/compile-fail/lambda-mutate-nested.rs')
| -rw-r--r-- | src/test/compile-fail/lambda-mutate-nested.rs | 2 |
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 409b0e59950..05a3cc95e20 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 alias +// error-pattern:assigning to upvar // Make sure that nesting a block within a lambda doesn't let us // mutate upvars from a lambda. fn main() { |
