rust/tests/ui/block-result/block-must-not-have-result-res.rs

11 lines
118 B
Rust
Raw Normal View History

struct R;
impl Drop for R {
2013-09-16 20:18:07 -05:00
fn drop(&mut self) {
2015-01-12 00:01:44 -06:00
true //~ ERROR mismatched types
}
}
fn main() {
}