]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/redundant_closure_call_late.stderr
Merge commit 'da5a6fb1b65ec6581a67e942a3850f6bc15a552c' into clippyup
[rust.git] / src / tools / clippy / tests / ui / redundant_closure_call_late.stderr
1 error: closure called just once immediately after it was declared
2   --> $DIR/redundant_closure_call_late.rs:15:5
3    |
4 LL |     i = redun_closure();
5    |     ^^^^^^^^^^^^^^^^^^^
6    |
7    = note: `-D clippy::redundant-closure-call` implied by `-D warnings`
8
9 error: closure called just once immediately after it was declared
10   --> $DIR/redundant_closure_call_late.rs:19:5
11    |
12 LL |     i = shadowed_closure();
13    |     ^^^^^^^^^^^^^^^^^^^^^^
14
15 error: closure called just once immediately after it was declared
16   --> $DIR/redundant_closure_call_late.rs:21:5
17    |
18 LL |     i = shadowed_closure();
19    |     ^^^^^^^^^^^^^^^^^^^^^^
20
21 error: aborting due to 3 previous errors
22