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