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