]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/hrtb-conflate-regions.rs
Update compile fail tests to use isize.
[rust.git] / src / test / compile-fail / hrtb-conflate-regions.rs
index 5eb8fd69312582100f2e64b7d024f1e1f801ed05..3efe0501267e9b1ac6c5f031ac022586e3562548 100644 (file)
@@ -16,12 +16,12 @@ fn foo(&self, x: X) { }
 }
 
 fn want_foo2<T>()
-    where T : for<'a,'b> Foo<(&'a int, &'b int)>
+    where T : for<'a,'b> Foo<(&'a isize, &'b isize)>
 {
 }
 
 fn want_foo1<T>()
-    where T : for<'z> Foo<(&'z int, &'z int)>
+    where T : for<'z> Foo<(&'z isize, &'z isize)>
 {
 }
 
@@ -30,7 +30,7 @@ fn want_foo1<T>()
 
 struct SomeStruct;
 
-impl<'a> Foo<(&'a int, &'a int)> for SomeStruct
+impl<'a> Foo<(&'a isize, &'a isize)> for SomeStruct
 {
 }