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