From: Matthias Krüger Date: Thu, 23 May 2019 15:03:59 +0000 (+0200) Subject: tests: update needless_bool test stderr X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;ds=sidebyside;h=3d0795bb04c73ccdf1e6955b036f6266476605c4;hp=39d1fea6d60235ee1fae82acf326c88e488bc110;p=rust.git tests: update needless_bool test stderr I'm getting a test failure otherwise with rust master (f688ba608923bdbf6b46ec65af2f6464b6233a75). --- diff --git a/tests/ui/needless_bool.stderr b/tests/ui/needless_bool.stderr index 46734ea07a5..30284675f43 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