Sign in
fuchsia
/
third_party
/
rust
/
f02ffb8b4ca760117875f3b5326e9cff6598dde3
/
.
/
src
/
test
/
ui
/
issues
/
issue-16939.rs
blob: ad7248343918d1a0b44ac6ef9d50a303212bbbbb [
file
] [
log
] [
blame
]
// Make sure we don't ICE when making an overloaded call with the
// wrong arity.
fn
_foo
<
F
:
Fn
()>
(
f
:
F
)
{
|
t
|
f
(
t
);
//~ ERROR E0057
}
fn
main
()
{}