Sign in
android
/
toolchain
/
rustc
/
635618df8991b8a005e435895ea0b1eee7e3faf0
/
.
/
tests
/
ui
/
closures
/
old-closure-expression-remove-semicolon.rs
blob: 912c7a3314ac99655c571d0c9f6db8eb289f1641 [
file
] [
log
] [
blame
]
// run-rustfix
fn
foo
()
->
i32
{
0
}
fn
main
()
{
let
_x
:
i32
=
{
//~^ ERROR mismatched types
foo
();
//~ HELP remove this semicolon to return this value
};
}