rust/src/test/ui/liveness/liveness-issue-2163.stderr

16 lines
422 B
Plaintext
Raw Normal View History

2018-08-08 07:28:26 -05:00
error[E0308]: mismatched types
--> $DIR/liveness-issue-2163.rs:15:30
|
LL | a.iter().all(|_| -> bool {
| ______________________________^
LL | | //~^ ERROR mismatched types
LL | | });
| |_____^ expected bool, found ()
|
= note: expected type `bool`
found type `()`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.