]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/borrowck-loan-blocks-mut-uniq.rs
Update compile fail tests to use isize.
[rust.git] / src / test / compile-fail / borrowck-loan-blocks-mut-uniq.rs
index e59baa1e37c8c29d06402d69f07995153828b514..a52a4484b20d123440a7c602d20c1c8d9ed6eee9 100644 (file)
@@ -10,7 +10,7 @@
 
 #![feature(box_syntax)]
 
-fn borrow<F>(v: &int, f: F) where F: FnOnce(&int) {
+fn borrow<F>(v: &isize, f: F) where F: FnOnce(&isize) {
     f(v);
 }