]> git.lizzy.rs Git - rust.git/blob - src/test/ui/mismatched_types/closure-mismatch.nll.stderr
Auto merge of #76110 - FedericoPonzi:convert-openoptions-cint, r=JoshTriplett
[rust.git] / src / test / ui / mismatched_types / closure-mismatch.nll.stderr
1 error: higher-ranked subtype error
2   --> $DIR/closure-mismatch.rs:8:5
3    |
4 LL |     baz(|_| ());
5    |     ^^^^^^^^^^^
6
7 error: higher-ranked subtype error
8   --> $DIR/closure-mismatch.rs:8:5
9    |
10 LL |     baz(|_| ());
11    |     ^^^^^^^^^^^
12
13 error: aborting due to 2 previous errors
14