2017-06-23 19:43:35 -05:00
|
|
|
error[E0308]: mismatched types
|
|
|
|
--> $DIR/block-must-not-have-result-res.rs:15:9
|
|
|
|
|
|
|
|
|
15 | true //~ ERROR mismatched types
|
|
|
|
| ^^^^ expected (), found bool
|
|
|
|
|
|
|
|
|
= note: expected type `()`
|
|
|
|
found type `bool`
|
|
|
|
|
2017-07-02 08:09:09 -05:00
|
|
|
error: aborting due to previous error
|
2017-06-23 19:43:35 -05:00
|
|
|
|