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.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/unsized6.rs b/src/test/compile-fail/unsized6.rs
index 2129f075a81..21953d1bb09 100644
--- a/src/test/compile-fail/unsized6.rs
+++ b/src/test/compile-fail/unsized6.rs
@@ -27,12 +27,12 @@ fn f2<X: ?Sized + T>(x: &X) {
 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