error[E0282]: type annotations needed | |
--> $DIR/unknown_type_for_closure.rs:12:14 | |
| | |
LL | let x = |_| { }; //~ ERROR type annotations needed | |
| ^ consider giving this closure parameter a type | |
error: aborting due to previous error | |
For more information about this error, try `rustc --explain E0282`. |