LL | if (a and b) {
| ^^^
| |
- | expected one of 8 possible tokens here
+ | expected one of 8 possible tokens
| help: use `&&` instead of `and` for the boolean operator
error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `or`
LL | if (a or b) {
| ^^
| |
- | expected one of 8 possible tokens here
+ | expected one of 8 possible tokens
| help: use `||` instead of `or` for the boolean operator
error: expected one of `!`, `.`, `::`, `?`, `{`, or an operator, found `and`
LL | while a and b {
| ^^^
| |
- | expected one of `!`, `.`, `::`, `?`, `{`, or an operator here
+ | expected one of `!`, `.`, `::`, `?`, `{`, or an operator
| help: use `&&` instead of `and` for the boolean operator
error: expected one of `!`, `.`, `::`, `?`, `{`, or an operator, found `or`
LL | while a or b {
| ^^
| |
- | expected one of `!`, `.`, `::`, `?`, `{`, or an operator here
+ | expected one of `!`, `.`, `::`, `?`, `{`, or an operator
| help: use `||` instead of `or` for the boolean operator
error: aborting due to 6 previous errors