Sign in
rust
/
rust
/
2b0cce040dc698332f3602db3dc7b7e5cf352b59
/
.
/
tests
/
ui
/
missing
/
missing-let.rs
blob: 36db7bc95826b844323e2b54b1331f41daf45891 [
file
] [
log
] [
blame
]
fn
main
()
{
let
x
=
Some
(
42
);
if
let
Some
(
_
)
=
x
&&
Some
(
x
)
=
x
//~^ ERROR expected expression, found `let` statement
{}
}