about summary refs log tree commit diff
path: root/src/test/compile-fail/unsized6.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/unsized6.rs')
-rw-r--r--src/test/compile-fail/unsized6.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/compile-fail/unsized6.rs b/src/test/compile-fail/unsized6.rs
index 02f3404b72b..21953d1bb09 100644
--- a/src/test/compile-fail/unsized6.rs
+++ b/src/test/compile-fail/unsized6.rs
@@ -15,24 +15,24 @@ trait T {}
 
 fn f1<X: ?Sized>(x: &X) {
     let _: X; // <-- this is OK, no bindings created, no initializer.
-    let _: (int, (X, int)); // same
+    let _: (isize, (X, isize)); // same
     let y: X; //~ERROR the trait `core::marker::Sized` is not implemented
-    let y: (int, (X, int)); //~ERROR the trait `core::marker::Sized` is not implemented
+    let y: (isize, (X, isize)); //~ERROR the trait `core::marker::Sized` is not implemented
 }
 fn f2<X: ?Sized + T>(x: &X) {
     let y: X; //~ERROR the trait `core::marker::Sized` is not implemented
-    let y: (int, (X, int)); //~ERROR the trait `core::marker::Sized` is not implemented
+    let y: (isize, (X, isize)); //~ERROR the trait `core::marker::Sized` is not implemented
 }
 
 fn f3<X: ?Sized>(x1: Box<X>, x2: Box<X>, x3: Box<X>) {
     let y: X = *x1; //~ERROR the trait `core::marker::Sized` is not implemented
     let y = *x2; //~ERROR the trait `core::marker::Sized` is not implemented
-    let (y, z) = (*x3, 4i); //~ERROR the trait `core::marker::Sized` is not implemented
+    let (y, z) = (*x3, 4is); //~ERROR the trait `core::marker::Sized` is not implemented
 }
 fn f4<X: ?Sized + T>(x1: Box<X>, x2: Box<X>, x3: Box<X>) {
     let y: X = *x1;         //~ERROR the trait `core::marker::Sized` is not implemented
     let y = *x2;            //~ERROR the trait `core::marker::Sized` is not implemented
-    let (y, z) = (*x3, 4i); //~ERROR the trait `core::marker::Sized` is not implemented
+    let (y, z) = (*x3, 4is); //~ERROR the trait `core::marker::Sized` is not implemented
 }
 
 fn g1<X: ?Sized>(x: X) {} //~ERROR the trait `core::marker::Sized` is not implemented