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 08:17:02 -05:00
fn main() {
let x = Some(1);
let Some(y) = x; //~ ERROR E0005
}