]> git.lizzy.rs Git - rust.git/blob - src/test/ui/block-result/block-must-not-have-result-res.stderr
Auto merge of #42896 - llogiq:clippy_compiletest, r=alexcrichton
[rust.git] / src / test / ui / block-result / block-must-not-have-result-res.stderr
1 error[E0308]: mismatched types
2   --> $DIR/block-must-not-have-result-res.rs:15:9
3    |
4 15 |         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(s)
11