1 error: `<` is interpreted as a start of generic arguments for `usize`, not a comparison
2 --> $DIR/issue-22644.rs:16:31
4 LL | println!("{}", a as usize < long_name); //~ ERROR `<` is interpreted as a start of generic
5 | ---------- ^ --------- interpreted as generic arguments
7 | | not interpreted as comparison
8 | help: try comparing the cast value: `(a as usize)`
10 error: `<` is interpreted as a start of generic arguments for `usize`, not a comparison
11 --> $DIR/issue-22644.rs:17:33
13 LL | println!("{}{}", a as usize < long_name, long_name);
14 | ---------- ^ -------------------- interpreted as generic arguments
16 | | not interpreted as comparison
17 | help: try comparing the cast value: `(a as usize)`
19 error: `<` is interpreted as a start of generic arguments for `usize`, not a comparison
20 --> $DIR/issue-22644.rs:19:31
22 LL | println!("{}", a as usize < 4); //~ ERROR `<` is interpreted as a start of generic
23 | ---------- ^ - interpreted as generic arguments
25 | | not interpreted as comparison
26 | help: try comparing the cast value: `(a as usize)`
28 error: `<` is interpreted as a start of generic arguments for `usize`, not a comparison
29 --> $DIR/issue-22644.rs:21:31
31 LL | println!("{}{}", a: usize < long_name, long_name);
32 | -------- ^ -------------------- interpreted as generic arguments
34 | | not interpreted as comparison
35 | help: try comparing the cast value: `(a: usize)`
37 error: `<` is interpreted as a start of generic arguments for `usize`, not a comparison
38 --> $DIR/issue-22644.rs:23:29
40 LL | println!("{}", a: usize < 4); //~ ERROR `<` is interpreted as a start of generic
41 | -------- ^ - interpreted as generic arguments
43 | | not interpreted as comparison
44 | help: try comparing the cast value: `(a: usize)`
46 error: `<` is interpreted as a start of generic arguments for `usize`, not a comparison
47 --> $DIR/issue-22644.rs:28:20
49 LL | < //~ ERROR `<` is interpreted as a start of generic
50 | ^ not interpreted as comparison
52 | - interpreted as generic arguments
53 help: try comparing the cast value
55 LL | println!("{}", (a
60 error: `<` is interpreted as a start of generic arguments for `usize`, not a comparison
61 --> $DIR/issue-22644.rs:37:20
63 LL | < //~ ERROR `<` is interpreted as a start of generic
64 | ^ not interpreted as comparison
66 | - interpreted as generic arguments
67 help: try comparing the cast value
69 LL | println!("{}", (a
77 error: `<` is interpreted as a start of generic arguments for `usize`, not a shift
78 --> $DIR/issue-22644.rs:40:31
80 LL | println!("{}", a as usize << long_name); //~ ERROR `<` is interpreted as a start of generic
81 | ---------- ^^ --------- interpreted as generic arguments
83 | | not interpreted as shift
84 | help: try shifting the cast value: `(a as usize)`
86 error: expected type, found `4`
87 --> $DIR/issue-22644.rs:42:28
89 LL | println!("{}", a: &mut 4); //~ ERROR expected type, found `4`
90 | ^ expecting a type here because of type ascription
92 error: aborting due to 9 previous errors