1 error[E0308]: mismatched types
2 --> $DIR/block-must-not-have-result-res.rs:5:9
4 LL | fn drop(&mut self) {
5 | - expected `()` because of default return type
7 | ^^^^ expected `()`, found `bool`
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0308`.