]> git.lizzy.rs Git - rust.git/blob - src/test/ui/block-result/block-must-not-have-result-res.stderr
Rollup merge of #95353 - jyn514:invalid-filter-hard-error, r=Mark-Simulacrum
[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: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`.