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