Sign in
rust
/
rust-lang
/
rust
/
refs/heads/lcnr/rustc-dev-guide
/
.
/
tests
/
ui
/
destructuring-assignment
/
bad-let-in-destructure.stderr
blob: 622d714ba2fd48f2c7e8c8a017676e93ab4783aa [
file
] [
log
] [
blame
]
error
:
expected expression
,
found
`let`
statement
-->
$DIR
/
bad
-
let
-
in
-
destructure
.
rs
:
11
:
4
|
LL
|
(
let
x
=
1
,)
=
x
;
|
^^^
|
=
note
:
only supported directly
in
conditions of
`if`
and
`while`
expressions
error
:
aborting due to
1
previous error