1 error[E0308]: mismatched types
2 --> $DIR/liveness-issue-2163.rs:5:30
4 LL | a.iter().all(|_| -> bool {
5 | ______________________________^
8 | |_____^ expected `bool`, found `()`
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0308`.