X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftools%2Fclippy%2Ftests%2Fui%2Fredundant_closure_call_fixable.stderr;fp=src%2Ftools%2Fclippy%2Ftests%2Fui%2Fredundant_closure_call_fixable.stderr;h=644161d9f5d885eb24da0c187bfcd5e63ffa1352;hb=e4e1b8c6b7b30d7180792e1965cc0757c41c621a;hp=e7737f9dd856fe6719da3275e182d4df6f865e8c;hpb=62392966a3937362146d7228444c8d843d972857;p=rust.git diff --git a/src/tools/clippy/tests/ui/redundant_closure_call_fixable.stderr b/src/tools/clippy/tests/ui/redundant_closure_call_fixable.stderr index e7737f9dd85..644161d9f5d 100644 --- a/src/tools/clippy/tests/ui/redundant_closure_call_fixable.stderr +++ b/src/tools/clippy/tests/ui/redundant_closure_call_fixable.stderr @@ -1,8 +1,8 @@ -error: Try not to call a closure in the expression where it is declared. +error: try not to call a closure in the expression where it is declared. --> $DIR/redundant_closure_call_fixable.rs:7:13 | LL | let a = (|| 42)(); - | ^^^^^^^^^ help: Try doing something like: : `42` + | ^^^^^^^^^ help: try doing something like: `42` | = note: `-D clippy::redundant-closure-call` implied by `-D warnings`