1 error: expected `{`, found `and`
2 --> $DIR/issue-54109-and_instead_of_ampersands.rs:14:10
5 | -- ^^^ help: use `&&` instead of `and` for the boolean operator: `&&`
7 | this `if` statement has a condition, but no block
9 error: expected `{`, found `or`
10 --> $DIR/issue-54109-and_instead_of_ampersands.rs:23:10
13 | -- ^^ help: use `||` instead of `or` for the boolean operator: `||`
15 | this `if` statement has a condition, but no block
17 error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `and`
18 --> $DIR/issue-54109-and_instead_of_ampersands.rs:32:11
23 | expected one of 8 possible tokens here
24 | help: use `&&` instead of `and` for the boolean operator: `&&`
26 error: expected one of `!`, `)`, `,`, `.`, `::`, `?`, `{`, or an operator, found `or`
27 --> $DIR/issue-54109-and_instead_of_ampersands.rs:41:11
32 | expected one of 8 possible tokens here
33 | help: use `||` instead of `or` for the boolean operator: `||`
35 error: aborting due to 4 previous errors