index
:
rust
this commit
auto
automation/bors/try
automation/bors/try-merge
beta
cargo_update
lcnr/rustc-dev-guide
master
perf-tmp
stable
try
try-perf
https://github.com/rust-lang/rust
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
tests
/
ui
/
error-codes
/
E0005.rs
blob: f4730697e1843f226ec6a3998dd6b89725e9ef1a (
plain
)
1
2
3
4
fn
main
()
{
let
x
=
Some
(
1
);
let
Some
(
y
)
=
x
;
//~ ERROR E0005
}