@@ -5,7 +5,7 @@ LL | println!("{}", a as usize < long_name); //~ ERROR `<` is interpreted as
5
5
| ---------- ^ --------- interpreted as generic arguments
6
6
| | |
7
7
| | not interpreted as comparison
8
- | help: try comparing the casted value: `(a as usize)`
8
+ | help: try comparing the cast value: `(a as usize)`
9
9
10
10
error: `<` is interpreted as a start of generic arguments for `usize`, not a comparison
11
11
--> $DIR/issue-22644.rs:17:33
@@ -14,7 +14,7 @@ LL | println!("{}{}", a as usize < long_name, long_name);
14
14
| ---------- ^ -------------------- interpreted as generic arguments
15
15
| | |
16
16
| | not interpreted as comparison
17
- | help: try comparing the casted value: `(a as usize)`
17
+ | help: try comparing the cast value: `(a as usize)`
18
18
19
19
error: `<` is interpreted as a start of generic arguments for `usize`, not a comparison
20
20
--> $DIR/issue-22644.rs:19:31
@@ -23,7 +23,7 @@ LL | println!("{}", a as usize < 4); //~ ERROR `<` is interpreted as a start
23
23
| ---------- ^ - interpreted as generic arguments
24
24
| | |
25
25
| | not interpreted as comparison
26
- | help: try comparing the casted value: `(a as usize)`
26
+ | help: try comparing the cast value: `(a as usize)`
27
27
28
28
error: `<` is interpreted as a start of generic arguments for `usize`, not a comparison
29
29
--> $DIR/issue-22644.rs:21:31
@@ -32,7 +32,7 @@ LL | println!("{}{}", a: usize < long_name, long_name);
32
32
| -------- ^ -------------------- interpreted as generic arguments
33
33
| | |
34
34
| | not interpreted as comparison
35
- | help: try comparing the casted value: `(a: usize)`
35
+ | help: try comparing the cast value: `(a: usize)`
36
36
37
37
error: `<` is interpreted as a start of generic arguments for `usize`, not a comparison
38
38
--> $DIR/issue-22644.rs:23:29
@@ -41,7 +41,7 @@ LL | println!("{}", a: usize < 4); //~ ERROR `<` is interpreted as a start o
41
41
| -------- ^ - interpreted as generic arguments
42
42
| | |
43
43
| | not interpreted as comparison
44
- | help: try comparing the casted value: `(a: usize)`
44
+ | help: try comparing the cast value: `(a: usize)`
45
45
46
46
error: `<` is interpreted as a start of generic arguments for `usize`, not a comparison
47
47
--> $DIR/issue-22644.rs:28:20
@@ -50,7 +50,7 @@ LL | < //~ ERROR `<` is interpreted as a start of generic
50
50
| ^ not interpreted as comparison
51
51
LL | 4);
52
52
| - interpreted as generic arguments
53
- help: try comparing the casted value
53
+ help: try comparing the cast value
54
54
|
55
55
LL | println!("{}", (a
56
56
LL | as
@@ -64,7 +64,7 @@ LL | < //~ ERROR `<` is interpreted as a start of generic
64
64
| ^ not interpreted as comparison
65
65
LL | 5);
66
66
| - interpreted as generic arguments
67
- help: try comparing the casted value
67
+ help: try comparing the cast value
68
68
|
69
69
LL | println!("{}", (a
70
70
LL |
@@ -81,7 +81,7 @@ LL | println!("{}", a as usize << long_name); //~ ERROR `<` is interpreted a
81
81
| ---------- ^^ --------- interpreted as generic arguments
82
82
| | |
83
83
| | not interpreted as shift
84
- | help: try shifting the casted value: `(a as usize)`
84
+ | help: try shifting the cast value: `(a as usize)`
85
85
86
86
error: expected type, found `4`
87
87
--> $DIR/issue-22644.rs:42:28
0 commit comments