]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0005.rs
Merge commit '0e87918536b9833bbc6c683d1f9d51ee2bf03ef1' into clippyup
[rust.git] / src / test / ui / error-codes / E0005.rs
1 fn main() {
2     let x = Some(1);
3     let Some(y) = x; //~ ERROR E0005
4 }