Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
issues
/
issue-51154.rs
blob: 12903f79010cbafd3118ed660301446afcf797a5 [
file
] [
log
] [
blame
] [
edit
]
fn
foo
<
F
:
FnMut
()>()
{
let
_
:
Box
<
F
>
=
Box
::
new
(||
());
//~^ ERROR mismatched types
}
fn
main
()
{}