fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
557 B14 linesraw
1error[E0282]: type annotations needed for `std::option::Option<T>`
2  --> $DIR/unboxed-closures-failed-recursive-fn-2.rs:16:32
3   |
4LL |     let mut closure0 = None;
5   |         ------------ consider giving `closure0` the explicit type `std::option::Option<T>`, with the type parameters specified
6...
7LL |                         return c();
8   |                                ^^^ cannot infer type
9   |
10   = note: type must be known at this point
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0282`.