]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unboxed-closures/unboxed-closures-failed-recursive-fn-2.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / unboxed-closures / unboxed-closures-failed-recursive-fn-2.stderr
1 error[E0282]: type annotations needed
2   --> $DIR/unboxed-closures-failed-recursive-fn-2.rs:26:32
3    |
4 LL |     let mut closure0 = None;
5    |         ------------ consider giving `closure0` a type
6 ...
7 LL |                         return c();
8    |                                ^^^ cannot infer type
9    |
10    = note: type must be known at this point
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0282`.