diff options
Diffstat (limited to 'src/test/compile-fail/bad-var-env-capture-in-block-arg.rs')
| -rw-r--r-- | src/test/compile-fail/bad-var-env-capture-in-block-arg.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/bad-var-env-capture-in-block-arg.rs b/src/test/compile-fail/bad-var-env-capture-in-block-arg.rs index 7cd084c2d7f..21c9d7203ed 100644 --- a/src/test/compile-fail/bad-var-env-capture-in-block-arg.rs +++ b/src/test/compile-fail/bad-var-env-capture-in-block-arg.rs @@ -2,6 +2,6 @@ fn main() { let x = 3; fn blah(_a: native fn()) {} blah({|| - log(debug, x); //! ERROR attempted dynamic environment capture + log(debug, x); //~ ERROR attempted dynamic environment capture }); } \ No newline at end of file |
