about summary refs log tree commit diff
path: root/src/test/compile-fail/unsized5.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/unsized5.rs')
-rw-r--r--src/test/compile-fail/unsized5.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/compile-fail/unsized5.rs b/src/test/compile-fail/unsized5.rs
index 026d496aa43..02a8b5899d7 100644
--- a/src/test/compile-fail/unsized5.rs
+++ b/src/test/compile-fail/unsized5.rs
@@ -12,12 +12,12 @@
 
 struct S1<X: ?Sized> {
     f1: X, //~ ERROR `core::marker::Sized` is not implemented
-    f2: int,
+    f2: isize,
 }
 struct S2<X: ?Sized> {
-    f: int,
+    f: isize,
     g: X, //~ ERROR `core::marker::Sized` is not implemented
-    h: int,
+    h: isize,
 }
 struct S3 {
     f: str, //~ ERROR `core::marker::Sized` is not implemented
@@ -28,10 +28,10 @@ struct S4 {
     g: uint
 }
 enum E<X: ?Sized> {
-    V1(X, int), //~ERROR `core::marker::Sized` is not implemented
+    V1(X, isize), //~ERROR `core::marker::Sized` is not implemented
 }
 enum F<X: ?Sized> {
-    V2{f1: X, f: int}, //~ERROR `core::marker::Sized` is not implemented
+    V2{f1: X, f: isize}, //~ERROR `core::marker::Sized` is not implemented
 }
 
 pub fn main() {