]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/regions-name-duplicated.rs
Update compile fail tests to use isize.
[rust.git] / src / test / compile-fail / regions-name-duplicated.rs
index 518fe0b00b6ce7c743de9f0ba701bb644bafe24e..b4b9cfd75cbc9810d3408e49ce4e5efb76514017 100644 (file)
@@ -9,7 +9,7 @@
 // except according to those terms.
 
 struct Foo<'a, 'a> { //~ ERROR lifetime name `'a` declared twice
-    x: &'a int
+    x: &'a isize
 }
 
 fn main() {}