2018-08-21 20:12:23 -05:00
|
|
|
error[E0107]: wrong number of type arguments: expected 0, found 1
|
2019-09-04 19:36:01 -05:00
|
|
|
--> $DIR/unboxed-closure-sugar-wrong-trait.rs:5:8
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | fn f<F:Trait(isize) -> isize>(x: F) {}
|
2019-09-04 19:36:01 -05:00
|
|
|
| ^^^^^^^^^^^^ unexpected type argument
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
|
|
error[E0220]: associated type `Output` not found for `Trait`
|
2019-12-12 17:22:46 -06:00
|
|
|
--> $DIR/unboxed-closure-sugar-wrong-trait.rs:5:8
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | fn f<F:Trait(isize) -> isize>(x: F) {}
|
2019-12-12 17:22:46 -06:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^ associated type `Output` not found
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
2019-04-17 12:26:38 -05:00
|
|
|
Some errors have detailed explanations: E0107, E0220.
|
2018-08-21 20:12:23 -05:00
|
|
|
For more information about an error, try `rustc --explain E0107`.
|