Sign in
rust
/
rust
/
a5a286df89146c64afebc6dcbbd3f61ba67ae53b
/
.
/
tests
/
ui
/
let-else
/
let-else-scope.rs
blob: 78a67769ef2843f1473ef427b4e379fc37df3fba [
file
]
fn
main
()
{
let
Some
(
x
)
=
Some
(
2
)
else
{
panic
!(
"{}"
,
x
);
//~ ERROR cannot find value `x` in this scope
};
}