cookie_store icon indicating copy to clipboard operation
cookie_store copied to clipboard

Fail to compile on android because IndexMap #647

Open mamcx opened this issue 2 years ago • 0 comments

I start to get breaking CI with when use packages that use cookie-store

ureq = { version = "2.7.1", features = ["default", "json", "charset", "cookies"] }

With error:

error[E0107]: struct takes 3 generic arguments but 2 generic arguments were supplied
  --> /Users/mamcx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/cookie_store-0.19.0/src/cookie_store.rs:23:18
   |
23 | type Map<K, V> = IndexMap<K, V>;
   |                  ^^^^^^^^ -  - supplied 2 generic arguments
   |                  |
   |                  expected 3 generic arguments
   |
note: struct defined here, with 3 generic parameters: `K`, `V`, `S`
  --> /Users/mamcx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/indexmap-1.9.2/src/map.rs:76:12
   |
76 | pub struct IndexMap<K, V, S> {
   |            ^^^^^^^^ -  -  -
help: add missing generic argument
   |
23 | type Map<K, V> = IndexMap<K, V, S>;
   |                               +++

mamcx avatar Aug 11 '23 20:08 mamcx