1 error[E0107]: wrong number of type arguments: expected 0, found 1
2 --> $DIR/unboxed-closure-sugar-wrong-trait.rs:5:8
4 LL | fn f<F:Trait(isize) -> isize>(x: F) {}
5 | ^^^^^^^^^^^^ unexpected type argument
7 error[E0220]: associated type `Output` not found for `Trait`
8 --> $DIR/unboxed-closure-sugar-wrong-trait.rs:5:8
10 LL | fn f<F:Trait(isize) -> isize>(x: F) {}
11 | ^^^^^^^^^^^^^^^^^^^^^ associated type `Output` not found
13 error: aborting due to 2 previous errors
15 Some errors have detailed explanations: E0107, E0220.
16 For more information about an error, try `rustc --explain E0107`.