Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
expr
/
malformed_closure
/
missing_block_in_fn_call.rs
blob: e47ad562fb0333a5ae77735b4e10a0578f436e39 [
file
] [
log
] [
blame
]
// run-rustfix
fn
main
()
{
let
_
=
vec
![
1
,
2
,
3
].
into_iter
().
map
(|
x
|
let
y
=
x
;
//~ ERROR expected expression, found `let` statement
y
);
let
_
:
()
=
foo
;
//~ ERROR mismatched types
}
fn
foo
()
{}