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

11 lines
118 B
Rust

struct R;
impl Drop for R {
fn drop(&mut self) {
true //~ ERROR mismatched types
}
}
fn main() {
}