fn main() { let x: int; //~ ERROR type parameters are not allowed on this type let x: i8; //~ ERROR type parameters are not allowed on this type let x: i16; //~ ERROR type parameters are not allowed on this type let x: i32; //~ ERROR type parameters are not allowed on this type let x: i64; //~ ERROR type parameters are not allowed on this type let x: uint; //~ ERROR type parameters are not allowed on this type let x: u8; //~ ERROR type parameters are not allowed on this type let x: u16; //~ ERROR type parameters are not allowed on this type let x: u32; //~ ERROR type parameters are not allowed on this type let x: u64; //~ ERROR type parameters are not allowed on this type let x: float; //~ ERROR type parameters are not allowed on this type let x: char; //~ ERROR type parameters are not allowed on this type let x: int/&; //~ ERROR region parameters are not allowed on this type let x: i8/&; //~ ERROR region parameters are not allowed on this type let x: i16/&; //~ ERROR region parameters are not allowed on this type let x: i32/&; //~ ERROR region parameters are not allowed on this type let x: i64/&; //~ ERROR region parameters are not allowed on this type let x: uint/&; //~ ERROR region parameters are not allowed on this type let x: u8/&; //~ ERROR region parameters are not allowed on this type let x: u16/&; //~ ERROR region parameters are not allowed on this type let x: u32/&; //~ ERROR region parameters are not allowed on this type let x: u64/&; //~ ERROR region parameters are not allowed on this type let x: float/&; //~ ERROR region parameters are not allowed on this type let x: char/&; //~ ERROR region parameters are not allowed on this type }