]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/borrowck-assign-to-andmut-in-aliasable-loc.rs
Update compile fail tests to use isize.
[rust.git] / src / test / compile-fail / borrowck-assign-to-andmut-in-aliasable-loc.rs
index 3fa840f6a4efbb817433b150ad7395168501c293..d66cdb99a74636b6d09f26a3d39d37bc65897b89 100644 (file)
@@ -12,7 +12,7 @@
 // borrowed (but otherwise non-aliasable) location is illegal.
 
 struct S<'a> {
-    pointer: &'a mut int
+    pointer: &'a mut isize
 }
 
 fn a(s: &S) {