From be7288303ae2ebb74b176f75ff567af4cace5d3b Mon Sep 17 00:00:00 2001 From: Oliver Schneider Date: Tue, 29 Mar 2016 10:44:35 +0200 Subject: [PATCH] more tests --- tests/compile-fail/booleans.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/compile-fail/booleans.rs b/tests/compile-fail/booleans.rs index 4ad51226d516..ecaa52019c6c 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); }