@@ -5,7 +5,7 @@ error: `<` is interpreted as a start of generic arguments for `usize`, not a com
55 | ---------- ^ --------- interpreted as generic arguments
66 | | |
77 | | not interpreted as comparison
8- | help: try comparing the casted value: `(a as usize)`
8+ | help: try comparing the cast value: `(a as usize)`
99
1010error: `<` is interpreted as a start of generic arguments for `usize`, not a comparison
1111 --> $DIR/issue-22644.rs:17:33
@@ -14,7 +14,7 @@ error: `<` is interpreted as a start of generic arguments for `usize`, not a com
1414 | ---------- ^ -------------------- interpreted as generic arguments
1515 | | |
1616 | | not interpreted as comparison
17- | help: try comparing the casted value: `(a as usize)`
17+ | help: try comparing the cast value: `(a as usize)`
1818
1919error: `<` is interpreted as a start of generic arguments for `usize`, not a comparison
2020 --> $DIR/issue-22644.rs:19:31
@@ -23,7 +23,7 @@ error: `<` is interpreted as a start of generic arguments for `usize`, not a com
2323 | ---------- ^ - interpreted as generic arguments
2424 | | |
2525 | | not interpreted as comparison
26- | help: try comparing the casted value: `(a as usize)`
26+ | help: try comparing the cast value: `(a as usize)`
2727
2828error: `<` is interpreted as a start of generic arguments for `usize`, not a comparison
2929 --> $DIR/issue-22644.rs:21:31
@@ -32,7 +32,7 @@ error: `<` is interpreted as a start of generic arguments for `usize`, not a com
3232 | -------- ^ -------------------- interpreted as generic arguments
3333 | | |
3434 | | not interpreted as comparison
35- | help: try comparing the casted value: `(a: usize)`
35+ | help: try comparing the cast value: `(a: usize)`
3636
3737error: `<` is interpreted as a start of generic arguments for `usize`, not a comparison
3838 --> $DIR/issue-22644.rs:23:29
@@ -41,7 +41,7 @@ error: `<` is interpreted as a start of generic arguments for `usize`, not a com
4141 | -------- ^ - interpreted as generic arguments
4242 | | |
4343 | | not interpreted as comparison
44- | help: try comparing the casted value: `(a: usize)`
44+ | help: try comparing the cast value: `(a: usize)`
4545
4646error: `<` is interpreted as a start of generic arguments for `usize`, not a comparison
4747 --> $DIR/issue-22644.rs:28:20
@@ -50,7 +50,7 @@ error: `<` is interpreted as a start of generic arguments for `usize`, not a com
5050 | ^ not interpreted as comparison
515129 | 4);
5252 | - interpreted as generic arguments
53- help: try comparing the casted value
53+ help: try comparing the cast value
5454 |
555525 | println!("{}", (a
565626 | as
@@ -64,7 +64,7 @@ error: `<` is interpreted as a start of generic arguments for `usize`, not a com
6464 | ^ not interpreted as comparison
656538 | 5);
6666 | - interpreted as generic arguments
67- help: try comparing the casted value
67+ help: try comparing the cast value
6868 |
696930 | println!("{}", (a
707031 |
@@ -81,7 +81,7 @@ error: `<` is interpreted as a start of generic arguments for `usize`, not a shi
8181 | ---------- ^^ --------- interpreted as generic arguments
8282 | | |
8383 | | not interpreted as shift
84- | help: try shifting the casted value: `(a as usize)`
84+ | help: try shifting the cast value: `(a as usize)`
8585
8686error: expected type, found `4`
8787 --> $DIR/issue-22644.rs:42:28
0 commit comments