os-rust/tests/ui/error-codes/E0005.rs

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

5 lines
72 B
Rust
Raw Permalink Normal View History

2016-05-12 15:17:02 +02:00
fn main() {
let x = Some(1);
let Some(y) = x; //~ ERROR E0005
}