8000 error[E0107]: struct takes 3 generic arguments but 2 generic arguments were supplied · Issue #814 · tower-rs/tower · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
error[E0107]: struct takes 3 generic arguments but 2 generic arguments were supplied #814
Open
@Fabbro03

Description

@Fabbro03

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>,
| +++

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0