mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 19:27:30 +03:00
5 lines
72 B
Rust
5 lines
72 B
Rust
fn main() {
|
|
let x = Some(1);
|
|
let Some(y) = x; //~ ERROR E0005
|
|
}
|