Description
When compiling on windows for a windows target no issue at all, but when I cross-compile on ubuntu wsl with target armv7-unknown-linux-gnueabi, this issue arise.
error[E0107]: struct takes 3 generic arguments but 2 generic arguments were supplied
--> .../.cargo/registry/src/.../tower-0.4.13/src/ready_cache/cache.rs:65:25
|
65 | pending_cancel_txs: IndexMap<K, CancelTx>,
| ^^^^^^^^ - -------- supplied 2 generic arguments
| |
| expected 3 generic arguments
|
note: struct defined here, with 3 generic parameters: `K`, `V`, `S`
--> .../.cargo/registry/src/.../indexmap-1.9.3/src/map.rs:76:12
|
76 | pub struct IndexMap<K, V, S> {
| ^^^^^^^^ - - -
help: add missing generic argument
|
65 | pending_cancel_txs: IndexMap<K, CancelTx, S>,
| +++
error[E0107]: struct takes 3 generic arguments but 2 generic arguments were supplied
--> .../.cargo/registry/src/.../tower-0.4.13/src/ready_cache/cache.rs:73:12
|
73 | ready: IndexMap<K, (S, CancelPair)>,
| ^^^^^^^^ - --------------- supplied 2 generic arguments
| |
| expected 3 generic arguments
|
note: struct defined here, with 3 generic parameters: `K`, `V`, `S`
--> .../.cargo/registry/src/.../indexmap-1.9.3/src/map.rs:76:12
|
76 | pub struct IndexMap<K, V, S> {
| ^^^^^^^^ - - -
help: add missing generic argument
|
73 | ready: IndexMap<K, (S, CancelPair), S>,
| +++