]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/regions-early-bound-error.rs
Update compile fail tests to use isize.
[rust.git] / src / test / compile-fail / regions-early-bound-error.rs
index 5da281d93dd556737fe7055a9316c7bbf4946674..37b74aea5391343258029d8fafb24625954c2d51 100644 (file)
@@ -25,7 +25,7 @@ fn get(&self) -> &'a T {
     }
 }
 
-fn get<'a,'b,G:GetRef<'a, int>>(g1: G, b: &'b int) -> &'b int {
+fn get<'a,'b,G:GetRef<'a, isize>>(g1: G, b: &'b isize) -> &'b isize {
     g1.get() //~ ERROR cannot infer an appropriate lifetime for automatic coercion due to
 }