1 error[E0282]: type annotations needed
2 --> $DIR/closures_in_branches.rs:21:10
5 | ^ consider giving this closure parameter a type
7 = note: type must be known at this point
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0282`.