diff --git a/tests/compile-fail/booleans.rs b/tests/compile-fail/booleans.rs index 4ad51226d..ecaa52019 100644 --- a/tests/compile-fail/booleans.rs +++ b/tests/compile-fail/booleans.rs @@ -76,4 +76,6 @@ fn equality_stuff() { //|~ HELP it would look like the following //|~ SUGGESTION let _ = false; let _ = a > b && a == b; + + let _ = a != b || !(a != b || c == d); }