@@ -4,63 +4,63 @@ error: `and` is not a logical operator
44LL | let _ = a and b;
55 | ^^^ help: use `&&` to perform logical conjunction
66 |
7- = note: unlike in e.g., python and PHP, `&&` and `||` are used for logical operators
7+ = note: unlike in e.g., Python and PHP, `&&` and `||` are used for logical operators
88
99error: `and` is not a logical operator
1010 --> $DIR/issue-54109-and_instead_of_ampersands.rs:9:10
1111 |
1212LL | if a and b {
1313 | ^^^ help: use `&&` to perform logical conjunction
1414 |
15- = note: unlike in e.g., python and PHP, `&&` and `||` are used for logical operators
15+ = note: unlike in e.g., Python and PHP, `&&` and `||` are used for logical operators
1616
1717error: `or` is not a logical operator
1818 --> $DIR/issue-54109-and_instead_of_ampersands.rs:20:15
1919 |
2020LL | let _ = a or b;
2121 | ^^ help: use `||` to perform logical disjunction
2222 |
23- = note: unlike in e.g., python and PHP, `&&` and `||` are used for logical operators
23+ = note: unlike in e.g., Python and PHP, `&&` and `||` are used for logical operators
2424
2525error: `or` is not a logical operator
2626 --> $DIR/issue-54109-and_instead_of_ampersands.rs:22:10
2727 |
2828LL | if a or b {
2929 | ^^ help: use `||` to perform logical disjunction
3030 |
31- = note: unlike in e.g., python and PHP, `&&` and `||` are used for logical operators
31+ = note: unlike in e.g., Python and PHP, `&&` and `||` are used for logical operators
3232
3333error: `and` is not a logical operator
3434 --> $DIR/issue-54109-and_instead_of_ampersands.rs:30:11
3535 |
3636LL | if (a and b) {
3737 | ^^^ help: use `&&` to perform logical conjunction
3838 |
39- = note: unlike in e.g., python and PHP, `&&` and `||` are used for logical operators
39+ = note: unlike in e.g., Python and PHP, `&&` and `||` are used for logical operators
4040
4141error: `or` is not a logical operator
4242 --> $DIR/issue-54109-and_instead_of_ampersands.rs:38:11
4343 |
4444LL | if (a or b) {
4545 | ^^ help: use `||` to perform logical disjunction
4646 |
47- = note: unlike in e.g., python and PHP, `&&` and `||` are used for logical operators
47+ = note: unlike in e.g., Python and PHP, `&&` and `||` are used for logical operators
4848
4949error: `and` is not a logical operator
5050 --> $DIR/issue-54109-and_instead_of_ampersands.rs:46:13
5151 |
5252LL | while a and b {
5353 | ^^^ help: use `&&` to perform logical conjunction
5454 |
55- = note: unlike in e.g., python and PHP, `&&` and `||` are used for logical operators
55+ = note: unlike in e.g., Python and PHP, `&&` and `||` are used for logical operators
5656
5757error: `or` is not a logical operator
5858 --> $DIR/issue-54109-and_instead_of_ampersands.rs:54:13
5959 |
6060LL | while a or b {
6161 | ^^ help: use `||` to perform logical disjunction
6262 |
63- = note: unlike in e.g., python and PHP, `&&` and `||` are used for logical operators
63+ = note: unlike in e.g., Python and PHP, `&&` and `||` are used for logical operators
6464
6565error[E0308]: mismatched types
6666 --> $DIR/issue-54109-and_instead_of_ampersands.rs:13:33
0 commit comments