about summary refs log tree commit diff
path: root/src/test/compile-fail/regions-bound-missing-bound-in-impl.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/regions-bound-missing-bound-in-impl.rs')
-rw-r--r--src/test/compile-fail/regions-bound-missing-bound-in-impl.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/regions-bound-missing-bound-in-impl.rs b/src/test/compile-fail/regions-bound-missing-bound-in-impl.rs
index c6a9f67cfc6..5028ec89972 100644
--- a/src/test/compile-fail/regions-bound-missing-bound-in-impl.rs
+++ b/src/test/compile-fail/regions-bound-missing-bound-in-impl.rs
@@ -13,7 +13,7 @@
 // checked.
 
 struct Inv<'a> { // invariant w/r/t 'a
-    x: &'a mut &'a int
+    x: &'a mut &'a isize
 }
 
 pub trait Foo<'a> {
@@ -24,7 +24,7 @@ pub trait Foo<'a> {
 }
 
 
-impl<'a> Foo<'a> for &'a int {
+impl<'a> Foo<'a> for &'a isize {
     fn no_bound<'b:'a>(self, b: Inv<'b>) {
         //~^ ERROR lifetime parameters or bounds on method `no_bound` do not match
     }