Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
unboxed-closures
/
non-tupled-arg-mismatch.rs
blob: d2e486002272c1c340ceb40bf27d2f7d23f6173c [
file
] [
log
] [
blame
]
#![
feature
(
unboxed_closures
)]
fn
a
<
F
:
Fn
<
usize
>>(
f
:
F
)
{}
//~^ ERROR type parameter to bare `Fn` trait must be a tuple
fn
main
()
{
a
(|
_
:
usize
|
{});
}