]> git.lizzy.rs Git - rust.git/blob - tests/ui/block-result/block-must-not-have-result-res.rs
Rollup merge of #106715 - BoxyUwU:new_solver_triagebot, r=lcnr
[rust.git] / tests / ui / block-result / block-must-not-have-result-res.rs
1 struct R;
2
3 impl Drop for R {
4     fn drop(&mut self) {
5         true //~  ERROR mismatched types
6     }
7 }
8
9 fn main() {
10 }