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