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