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