1 error: `and` is not a logical operator
2 --> $DIR/issue-54109-and_instead_of_ampersands.rs:7:15
5 | ^^^ help: use `&&` to perform logical conjunction
7 = note: unlike in e.g., Python and PHP, `&&` and `||` are used for logical operators
9 error: `and` is not a logical operator
10 --> $DIR/issue-54109-and_instead_of_ampersands.rs:9:10
13 | ^^^ help: use `&&` to perform logical conjunction
15 = note: unlike in e.g., Python and PHP, `&&` and `||` are used for logical operators
17 error: `or` is not a logical operator
18 --> $DIR/issue-54109-and_instead_of_ampersands.rs:20:15
21 | ^^ help: use `||` to perform logical disjunction
23 = note: unlike in e.g., Python and PHP, `&&` and `||` are used for logical operators
25 error: `or` is not a logical operator
26 --> $DIR/issue-54109-and_instead_of_ampersands.rs:22:10
29 | ^^ help: use `||` to perform logical disjunction
31 = note: unlike in e.g., Python and PHP, `&&` and `||` are used for logical operators
33 error: `and` is not a logical operator
34 --> $DIR/issue-54109-and_instead_of_ampersands.rs:30:11
37 | ^^^ help: use `&&` to perform logical conjunction
39 = note: unlike in e.g., Python and PHP, `&&` and `||` are used for logical operators
41 error: `or` is not a logical operator
42 --> $DIR/issue-54109-and_instead_of_ampersands.rs:38:11
45 | ^^ help: use `||` to perform logical disjunction
47 = note: unlike in e.g., Python and PHP, `&&` and `||` are used for logical operators
49 error: `and` is not a logical operator
50 --> $DIR/issue-54109-and_instead_of_ampersands.rs:46:13
53 | ^^^ help: use `&&` to perform logical conjunction
55 = note: unlike in e.g., Python and PHP, `&&` and `||` are used for logical operators
57 error: `or` is not a logical operator
58 --> $DIR/issue-54109-and_instead_of_ampersands.rs:54:13
61 | ^^ help: use `||` to perform logical disjunction
63 = note: unlike in e.g., Python and PHP, `&&` and `||` are used for logical operators
65 error[E0308]: mismatched types
66 --> $DIR/issue-54109-and_instead_of_ampersands.rs:13:33
68 LL | let _recovery_witness: () = 0;
69 | -- ^ expected `()`, found integer
71 | expected due to this
73 error: aborting due to 9 previous errors
75 For more information about this error, try `rustc --explain E0308`.