]> git.lizzy.rs Git - rust.git/blob - tests/ui/let-else/let-else-scope.rs
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[rust.git] / tests / ui / let-else / let-else-scope.rs
1 fn main() {
2     let Some(x) = Some(2) else {
3         panic!("{}", x); //~ ERROR cannot find value `x` in this scope
4     };
5 }