]> git.lizzy.rs Git - rust.git/blob - src/test/ui/block-result/block-must-not-have-result-do.stderr
report the total number of errors on compilation failure
[rust.git] / src / test / ui / block-result / block-must-not-have-result-do.stderr
1 error[E0308]: mismatched types
2   --> $DIR/block-must-not-have-result-do.rs:13:9
3    |
4 13 |         true //~  ERROR mismatched types
5    |         ^^^^ expected (), found bool
6    |
7    = note: expected type `()`
8               found type `bool`
9
10 error: aborting due to previous error
11