]> git.lizzy.rs Git - rust.git/blob - src/test/ui/liveness/liveness-issue-2163.stderr
Rollup merge of #87440 - twetzel59:fix-barrier-no-op, r=yaahc
[rust.git] / src / test / ui / liveness / liveness-issue-2163.stderr
1 error[E0308]: mismatched types
2   --> $DIR/liveness-issue-2163.rs:5:30
3    |
4 LL |       a.iter().all(|_| -> bool {
5    |  ______________________________^
6 LL | |
7 LL | |     });
8    | |_____^ expected `bool`, found `()`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.