@@ -24,7 +24,7 @@ error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found
24
24
LL | if (a and b) {
25
25
| ^^^
26
26
| |
27
- | expected one of 8 possible tokens here
27
+ | expected one of 8 possible tokens
28
28
| help: use `&&` instead of `and` for the boolean operator
29
29
30
30
error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `or`
@@ -33,7 +33,7 @@ error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found
33
33
LL | if (a or b) {
34
34
| ^^
35
35
| |
36
- | expected one of 8 possible tokens here
36
+ | expected one of 8 possible tokens
37
37
| help: use `||` instead of `or` for the boolean operator
38
38
39
39
error: expected one of `!`, `.`, `::`, `?`, `{`, or an operator, found `and`
@@ -42,7 +42,7 @@ error: expected one of `!`, `.`, `::`, `?`, `{`, or an operator, found `and`
42
42
LL | while a and b {
43
43
| ^^^
44
44
| |
45
- | expected one of `!`, `.`, `::`, `?`, `{`, or an operator here
45
+ | expected one of `!`, `.`, `::`, `?`, `{`, or an operator
46
46
| help: use `&&` instead of `and` for the boolean operator
47
47
48
48
error: expected one of `!`, `.`, `::`, `?`, `{`, or an operator, found `or`
@@ -51,7 +51,7 @@ error: expected one of `!`, `.`, `::`, `?`, `{`, or an operator, found `or`
51
51
LL | while a or b {
52
52
| ^^
53
53
| |
54
- | expected one of `!`, `.`, `::`, `?`, `{`, or an operator here
54
+ | expected one of `!`, `.`, `::`, `?`, `{`, or an operator
55
55
| help: use `||` instead of `or` for the boolean operator
56
56
57
57
error: aborting due to 6 previous errors
0 commit comments