]> git.lizzy.rs Git - rust.git/commitdiff
tests: update needless_bool test stderr
authorMatthias Krüger <matthias.krueger@famsik.de>
Thu, 23 May 2019 15:03:59 +0000 (17:03 +0200)
committerMatthias Krüger <matthias.krueger@famsik.de>
Thu, 23 May 2019 15:03:59 +0000 (17:03 +0200)
I'm getting a test failure otherwise with rust master (f688ba608923bdbf6b46ec65af2f6464b6233a75).

tests/ui/needless_bool.stderr

index 46734ea07a50ac24208b57432a3ed0bfbdb4f686..30284675f43ffc8d3bc773c71d744612a6d9cd49 100644 (file)
@@ -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