]> git.lizzy.rs Git - rust.git/blob - tests/ui/let-else/let-else-scope.rs
Don't resolve type var roots in point_at_expr_source_of_inferred_type
[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 }