]> git.lizzy.rs Git - rust.git/blob - tests/ui/block-result/block-must-not-have-result-res.stderr
Rollup merge of #106244 - atouchet:readme3, r=workingjubilee
[rust.git] / tests / ui / block-result / block-must-not-have-result-res.stderr
1 error[E0308]: mismatched types
2   --> $DIR/block-must-not-have-result-res.rs:5:9
3    |
4 LL |     fn drop(&mut self) {
5    |                        - expected `()` because of default return type
6 LL |         true
7    |         ^^^^ expected `()`, found `bool`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0308`.