]> git.lizzy.rs Git - rust.git/blob - src/test/ui/block-result/block-must-not-have-result-res.rs
Auto merge of #86155 - alexcrichton:abort-on-unwind, r=nikomatsakis
[rust.git] / src / test / 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 }