3 // This test is to check if suggestions can be applied automatically.
5 #![allow(dead_code, unused_parens)]
13 let _ = a and b; //~ ERROR `and` is not a logical operator
15 if a and b { //~ ERROR `and` is not a logical operator
24 let _ = a or b; //~ ERROR `or` is not a logical operator
26 if a or b { //~ ERROR `or` is not a logical operator
34 if (a and b) { //~ ERROR `and` is not a logical operator
42 if (a or b) { //~ ERROR `or` is not a logical operator
50 while a and b { //~ ERROR `and` is not a logical operator
58 while a or b { //~ ERROR `or` is not a logical operator