2017-12-10 19:47:55 +00:00
|
|
|
error[E0244]: wrong number of type arguments: expected 0, found 1
|
2018-08-20 11:52:56 +00:00
|
|
|
--> $DIR/unboxed-closure-sugar-wrong-trait.rs:15:13
|
2017-12-10 19:47:55 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | fn f<F:Trait(isize) -> isize>(x: F) {}
|
2018-08-20 11:52:56 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^ unexpected type argument
|
2017-12-10 19:47:55 +00:00
|
|
|
|
|
|
|
error[E0220]: associated type `Output` not found for `Trait`
|
|
|
|
--> $DIR/unboxed-closure-sugar-wrong-trait.rs:15:24
|
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | fn f<F:Trait(isize) -> isize>(x: F) {}
|
2017-12-10 19:47:55 +00:00
|
|
|
| ^^^^^ associated type `Output` not found
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|
2018-03-03 14:59:40 +00:00
|
|
|
Some errors occurred: E0220, E0244.
|
|
|
|
For more information about an error, try `rustc --explain E0220`.
|