Skip to content

Instantly share code, notes, and snippets.

@dredozubov
Created December 14, 2023 15:01
Show Gist options
  • Save dredozubov/53a58de6181d652213efc6cdd64bb63e to your computer and use it in GitHub Desktop.
Save dredozubov/53a58de6181d652213efc6cdd64bb63e to your computer and use it in GitHub Desktop.
yew 0.21 + trunk serve
error[E0277]: the trait bound `implicit_clone::unsync::IMap<_, _>: From<indexmap::IndexMap<K, V>>` is not satisfied
--> /Users/dr/.cargo/registry/src/index.crates.io-6f17d22bba15001f/yew-0.21.0/src/html/conversion/into_prop_value.rs:216:9
|
216 | IMap::from(self)
| ^^^^ the trait `From<indexmap::IndexMap<K, V>>` is not implemented for `implicit_clone::unsync::IMap<_, _>`
|
= help: the following other types implement trait `From<T>`:
<implicit_clone::unsync::IMap<K, V> as From<indexmap::map::IndexMap<K, V>>>
<implicit_clone::unsync::IMap<K, V> as From<std::rc::Rc<indexmap::map::IndexMap<K, V>>>>
<implicit_clone::unsync::IMap<K, V> as From<&'static [(K, V)]>>
<implicit_clone::unsync::IMap<K, V> as From<&implicit_clone::unsync::IMap<K, V>>>
For more information about this error, try `rustc --explain E0277`.
error: could not compile `yew` (lib) due to previous error
2023-12-14T14:59:52.924325Z ERROR ❌ error
error from build pipeline
Caused by:
0: error from asset pipeline
1: error during cargo build execution
2: cargo call to executable 'cargo' with args: '["build", "--target=wasm32-unknown-unknown", "--manifest-path", "/Users/dr/workspace/telegram-grep/telegrep-web/Cargo.toml"]' returned a bad status: exit status: 101
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment