about summary refs log tree commit diff
path: root/src/test/compile-fail/regions-bounds.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/regions-bounds.rs')
-rw-r--r--src/test/compile-fail/regions-bounds.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/regions-bounds.rs b/src/test/compile-fail/regions-bounds.rs
index e13a6b211a5..c26740c9598 100644
--- a/src/test/compile-fail/regions-bounds.rs
+++ b/src/test/compile-fail/regions-bounds.rs
@@ -12,8 +12,8 @@
 // nominal types (but not on other types) and that they are type
 // checked.
 
-struct an_enum<'a>(&'a int);
-struct a_class<'a> { x:&'a int }
+struct an_enum<'a>(&'a isize);
+struct a_class<'a> { x:&'a isize }
 
 fn a_fn1<'a,'b>(e: an_enum<'a>) -> an_enum<'b> {
     return e; //~ ERROR mismatched types: expected `an_enum<'b>`, found `an_enum<'a>`