error[E0283]: type annotations needed
--> {.. snip ..}\browserslist-rs-0.12.3\src\data\caniuse.rs:91:35
|
91 | let chrome = CANIUSE_BROWSERS.get(&"chrome".into()).unwrap();
| ^^^ ---------------- type must be known at this point
| |
| cannot infer type of the type parameter `Q` declared on the associated function `get`
|
= note: multiple `impl`s satisfying `Atom<BrowserNameAtomStaticSet>: Borrow<_>` found in the following crates: `core`, `string_cache`:
- impl<Static> Borrow<str> for Atom<Static>
where Static: StaticAtomSet;
- impl<T> Borrow<T> for T
where T: ?Sized;
note: required by a bound in `AHashMap::<K, V, S>::get`
--> {.. snip ..}\ahash-0.7.6\src\hash_map.rs:81:12
|
81 | K: Borrow<Q>,
| ^^^^^^^^^ required by this bound in `AHashMap::<K, V, S>::get`
help: consider specifying the generic argument
|
91 | let chrome = CANIUSE_BROWSERS.get::<Q>(&"chrome".into()).unwrap();
| +++++
Opened an issue there, but this might be better off being fixed here https://github.com/servo/string-cache/issues/271
Error: