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 Normal View History

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