]> git.lizzy.rs Git - rust.git/blob - tests/ui/let-else/let-else-scope.rs
Rollup merge of #106323 - starkat99:stabilize-f16c_target_feature, r=petrochenkov
[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 }