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