From 5a4ca319185a3f399986bc5e5a2d0a96fac583ae Mon Sep 17 00:00:00 2001 From: Corey Richardson Date: Fri, 5 Dec 2014 18:12:25 -0800 Subject: test fallout from isize/usize --- src/test/compile-fail/array-not-vector.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/test/compile-fail/array-not-vector.rs') diff --git a/src/test/compile-fail/array-not-vector.rs b/src/test/compile-fail/array-not-vector.rs index 7edb4b8754a..6581019fdd5 100644 --- a/src/test/compile-fail/array-not-vector.rs +++ b/src/test/compile-fail/array-not-vector.rs @@ -9,8 +9,8 @@ // except according to those terms. fn main() { - let _x: int = [1i, 2, 3]; //~ ERROR expected int, found array of 3 elements + let _x: isize = [1is, 2, 3]; //~ ERROR expected isize, found array of 3 elements - let x: &[int] = &[1, 2, 3]; - let _y: &int = x; //~ ERROR expected int, found slice + let x: &[isize] = &[1, 2, 3]; + let _y: &isize = x; //~ ERROR expected isize, found slice } -- cgit 1.4.1-3-g733a5