Sign in
fuchsia
/
third_party
/
rust
/
9ae1a664f7b947dadb9e97eea7703831d9cd5d31
/
.
/
src
/
test
/
ui
/
unboxed-closures
/
unboxed-closure-sugar-wrong-trait.rs
blob: 3e5342ca7df4a422fb21888d7e72bf5370008726 [
file
] [
log
] [
blame
]
#![
feature
(
unboxed_closures
)]
trait
Trait
{}
fn
f
<
F
:
Trait
(
isize
)
->
isize
>(
x
:
F
)
{}
//~^ ERROR wrong number of type arguments: expected 0, found 1 [E0107]
//~| ERROR E0220
fn
main
()
{}