1 error: expected `{`, found `and`
2 --> $DIR/issue-54109-and_instead_of_ampersands.rs:4:10
8 | | help: use `&&` instead of `and` for the boolean operator
9 | this `if` statement has a condition, but no block
11 error: expected `{`, found `or`
12 --> $DIR/issue-54109-and_instead_of_ampersands.rs:13:10
18 | | help: use `||` instead of `or` for the boolean operator
19 | this `if` statement has a condition, but no block
21 error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `and`
22 --> $DIR/issue-54109-and_instead_of_ampersands.rs:22:11
27 | expected one of 8 possible tokens
28 | help: use `&&` instead of `and` for the boolean operator
30 error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `or`
31 --> $DIR/issue-54109-and_instead_of_ampersands.rs:31:11
36 | expected one of 8 possible tokens
37 | help: use `||` instead of `or` for the boolean operator
39 error: expected one of `!`, `.`, `::`, `?`, `{`, or an operator, found `and`
40 --> $DIR/issue-54109-and_instead_of_ampersands.rs:40:13
45 | expected one of `!`, `.`, `::`, `?`, `{`, or an operator
46 | help: use `&&` instead of `and` for the boolean operator
48 error: expected one of `!`, `.`, `::`, `?`, `{`, or an operator, found `or`
49 --> $DIR/issue-54109-and_instead_of_ampersands.rs:49:13
54 | expected one of `!`, `.`, `::`, `?`, `{`, or an operator
55 | help: use `||` instead of `or` for the boolean operator
57 error: aborting due to 6 previous errors