Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
suggestions
/
call-boxed.rs
blob: d19e4596a0cc1ba060c85b4e7757e6978ecea149 [
file
] [
log
] [
blame
] [
edit
]
fn
main
()
{
let
mut
x
=
1i32
;
let
y
=
Box
::
new
(||
1
);
x
=
y
;
//~^ ERROR mismatched types
//~| HELP use parentheses to call this closure
}