fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
586 B17 linesraw
1error[E0282]: type annotations needed for `Option<T>`
2  --> $DIR/unboxed-closures-failed-recursive-fn-2.rs:8:9
3   |
4LL |     let mut closure0 = None;
5   |         ^^^^^^^^^^^^
6...
7LL |                         return c();
8   |                                --- type must be known at this point
9   |
10help: consider giving `closure0` an explicit type, where the placeholders `_` are specified
11   |
12LL |     let mut closure0: Option<T> = None;
13   |                     +++++++++++
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0282`.