]> git.lizzy.rs Git - rust.git/blob - tests/ui/redundant_closure_call_late.stderr
Move MSRV tests into the lint specific test files
[rust.git] / 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:16: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:20: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:22:5
17    |
18 LL |     i = shadowed_closure();
19    |     ^^^^^^^^^^^^^^^^^^^^^^
20
21 error: aborting due to 3 previous errors
22