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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
118 B
Rust
Raw Normal View History

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