]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/bad-env-capture2.rs
Update compile fail tests to use isize.
[rust.git] / src / test / compile-fail / bad-env-capture2.rs
index c97069acd9aeeaffc21d18555febacff795ae3c3..39a6922cfd0b653ec2ba3520ff6a8362525f4ae4 100644 (file)
@@ -9,7 +9,7 @@
 // except according to those terms.
 
 // error-pattern: can't capture dynamic environment in a fn item;
-fn foo(x: int) {
+fn foo(x: isize) {
     fn bar() { log(debug, x); }
 }
 fn main() { foo(2); }