Sign in
fuchsia
/
third_party
/
rust
/
cfcc5c296ed6fabcc8b9d380eaaea8a7352299fd
/
.
/
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
()
{}