about summary refs log tree commit diff
path: root/src/test/compile-fail/prim-with-args.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/prim-with-args.rs')
-rw-r--r--src/test/compile-fail/prim-with-args.rs24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/test/compile-fail/prim-with-args.rs b/src/test/compile-fail/prim-with-args.rs
index 0587e033a97..b4dba4f3a60 100644
--- a/src/test/compile-fail/prim-with-args.rs
+++ b/src/test/compile-fail/prim-with-args.rs
@@ -10,19 +10,19 @@
 
 fn main() {
 
-let x: int<int>; //~ ERROR type parameters are not allowed on this type
-let x: i8<int>; //~ ERROR type parameters are not allowed on this type
-let x: i16<int>; //~ ERROR type parameters are not allowed on this type
-let x: i32<int>; //~ ERROR type parameters are not allowed on this type
-let x: i64<int>; //~ ERROR type parameters are not allowed on this type
-let x: uint<int>; //~ ERROR type parameters are not allowed on this type
-let x: u8<int>; //~ ERROR type parameters are not allowed on this type
-let x: u16<int>; //~ ERROR type parameters are not allowed on this type
-let x: u32<int>; //~ ERROR type parameters are not allowed on this type
-let x: u64<int>; //~ ERROR type parameters are not allowed on this type
-let x: char<int>; //~ ERROR type parameters are not allowed on this type
+let x: isize<isize>; //~ ERROR type parameters are not allowed on this type
+let x: i8<isize>; //~ ERROR type parameters are not allowed on this type
+let x: i16<isize>; //~ ERROR type parameters are not allowed on this type
+let x: i32<isize>; //~ ERROR type parameters are not allowed on this type
+let x: i64<isize>; //~ ERROR type parameters are not allowed on this type
+let x: uint<isize>; //~ ERROR type parameters are not allowed on this type
+let x: u8<isize>; //~ ERROR type parameters are not allowed on this type
+let x: u16<isize>; //~ ERROR type parameters are not allowed on this type
+let x: u32<isize>; //~ ERROR type parameters are not allowed on this type
+let x: u64<isize>; //~ ERROR type parameters are not allowed on this type
+let x: char<isize>; //~ ERROR type parameters are not allowed on this type
 
-let x: int<'static>; //~ ERROR lifetime parameters are not allowed on this type
+let x: isize<'static>; //~ ERROR lifetime parameters are not allowed on this type
 let x: i8<'static>; //~ ERROR lifetime parameters are not allowed on this type
 let x: i16<'static>; //~ ERROR lifetime parameters are not allowed on this type
 let x: i32<'static>; //~ ERROR lifetime parameters are not allowed on this type