You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting an extremely strange compile error, strange as in it seems it should happen all of the time, but only happens when this crate is a transitive dependency?
error[E0252]: the name `Deserialize` is defined multiple times
--> /home/jake/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo_metadata-0.11.0/src/dependency.rs:5:20
|
4 | use serde::{Deserialize, Deserializer};
| ----------- previous import of the macro `Deserialize` here
5 | use serde_derive::{Deserialize, Serialize};
| ^^^^^^^^^^^--
| |
| `Deserialize` reimported here
| help: remove unnecessary import
|
= note: `Deserialize` must be defined only once in the macro namespace of this module
This error seems to be completely valid, but doesn't appear when you just compile this crate alone or when it's a direct depdency, as far as I can tell.
I'll open up a PR to fix it.
The text was updated successfully, but these errors were encountered:
Getting an extremely strange compile error, strange as in it seems it should happen all of the time, but only happens when this crate is a transitive dependency?
This error seems to be completely valid, but doesn't appear when you just compile this crate alone or when it's a direct depdency, as far as I can tell.
I'll open up a PR to fix it.
The text was updated successfully, but these errors were encountered: