Closed mrlogick closed 3 years ago
I made a PR to fix the issue, although it might take a while for it to get merged and for downstream crates to update. So for now, here is a patch:
[patch.crates-io.enumset_derive]
git = "https://github.com/ocboogie/enumset"
branch = "span-fix"
I'll update this snippet with Lymia's repo once the PR gets merged.
I think if it's only released as a patch (0.5.1) and 0.5.0 is yanked, it shouldn't be necessary for downstream crates to update.
According to this comment, the syn::export
APIs are private and should not be used. They link to this: https://github.com/dtolnay/syn/blob/5e23a9b9ac13733a56cf55777dc42bb23ee00bbc/src/lib.rs#L789-L791
Sorry about the delay in fixing this. I've set up an email client locally so I won't miss things like this in the future.
Hey! Is this issue still active ?
I am getting something like this while doing a cargo run to a project.
--> /home/josbeak/.cargo/registry/src/github.com-1ecc6299db9ec823/enumset_derive-0.4.4/src/lib.rs:10:10
|
10 | use syn::export::Span;
| ^^^^^^ could not find `export` in `syn`
For more information about this error, try `rustc --explain E0432`.
error: could not compile `enumset_derive` due to previous error
warning: build failed, waiting for other jobs to finish...
Please Help !
Try cargo update
. There's been a version published with this bug fixed for a long time.
Try
cargo update
. There's been a version published with this bug fixed for a long time.
nope no help :( cargo update , updates syn from v1.0.96->v1.0.98 but on cargo run the error is still there.
What's your Cargo.toml
say? This was fixed long ago, and 0.4.4 is pretty old.
What's your
Cargo.toml
say? This was fixed long ago, and 0.4.4 is pretty old.
It works now somehow, Thanks for the help though 👍🏼
$ cargo build