Closed diliop closed 2 months ago
I get that problem from time to time, executing a cargo update
will fix it. No idea why.
I get that problem from time to time, executing a
cargo update
will fix it. No idea why.
If cargo update
fixes it then the reason for this error is that implicit_clone
's dependency in the lockfile isn't updated when you modify the Cargo.toml. You have to tell cargo to update indexmap
everywhere
Yes, I have a crate that depends on indexmap, it is shared by both frontend and backend. Doing a cargo update
for frontend after cargo update
for backend will prevent the problem.
Thanks for the suggestions, that fixed it!
Problem If
yew
'sindexmap
dependency is upgraded to2.2.6
the following error can be seen when building:I see that
From<IndexMap<K, V>>
is implemented here so I'm definitely misunderstanding something. Any pointers appreciated!Steps To Reproduce
packages/yew/Cargo.toml
to:cargo build
Expected behavior
cargo build
is successfulEnvironment:
master
1.77.0
Questionnaire