os-rust/src/test/ui/block-result/block-must-not-have-result-while.stderr

13 lines
350 B
Text
Raw Normal View History

2017-06-23 17:43:35 -07:00
error[E0308]: mismatched types
2018-12-25 08:56:47 -07:00
--> $DIR/block-must-not-have-result-while.rs:3:9
2017-06-23 17:43:35 -07:00
|
2018-02-23 03:42:32 +03:00
LL | true //~ ERROR mismatched types
2017-06-23 17:43:35 -07:00
| ^^^^ expected (), found bool
|
= note: expected type `()`
found type `bool`
error: aborting due to previous error
2017-06-23 17:43:35 -07:00
2018-03-03 15:59:40 +01:00
For more information about this error, try `rustc --explain E0308`.