blob: 25283f5e76b1b2ede9c5ae7f63d03387aec5375c [file] [log] [blame]
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`.