1 #![feature(type_ascription)]
5 let long_name : usize = 0;
7 println!("{}", a as usize > long_name);
8 println!("{}", a as usize < long_name); //~ ERROR `<` is interpreted as a start of generic
9 println!("{}{}", a as usize < long_name, long_name);
10 //~^ ERROR `<` is interpreted as a start of generic
11 println!("{}", a as usize < 4); //~ ERROR `<` is interpreted as a start of generic
12 println!("{}", a: usize > long_name);
13 println!("{}{}", a: usize < long_name, long_name);
14 //~^ ERROR `<` is interpreted as a start of generic
15 println!("{}", a: usize < 4); //~ ERROR `<` is interpreted as a start of generic
20 < //~ ERROR `<` is interpreted as a start of generic
29 < //~ ERROR `<` is interpreted as a start of generic
32 println!("{}", a as usize << long_name); //~ ERROR `<` is interpreted as a start of generic
34 println!("{}", a: &mut 4); //~ ERROR expected type, found `4`