]> git.lizzy.rs Git - rust.git/blob - tests/ui/block-result/block-must-not-have-result-res.rs
Rollup merge of #106664 - chenyukang:yukang/fix-106597-remove-lseek, r=cuviper
[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 }