From 3d0795bb04c73ccdf1e6955b036f6266476605c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Kr=C3=BCger?= Date: Thu, 23 May 2019 17:03:59 +0200 Subject: [PATCH] tests: update needless_bool test stderr I'm getting a test failure otherwise with rust master (f688ba608923bdbf6b46ec65af2f6464b6233a75). --- tests/ui/needless_bool.stderr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ui/needless_bool.stderr b/tests/ui/needless_bool.stderr index 46734ea07a50..30284675f43f 100644 --- a/tests/ui/needless_bool.stderr +++ b/tests/ui/needless_bool.stderr @@ -145,7 +145,7 @@ LL | | false LL | | } else { LL | | true LL | | }; - | |_____^ help: you can reduce it to: `{ !returns_bool() }` + | |_____^ help: you can reduce it to: `!returns_bool()` error: aborting due to 16 previous errors