Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unknown feature proc_macro_span_shrink #29

Open
qxzhou1010 opened this issue Nov 16, 2023 · 0 comments
Open

unknown feature proc_macro_span_shrink #29

qxzhou1010 opened this issue Nov 16, 2023 · 0 comments

Comments

@qxzhou1010
Copy link

When I perform cargo run --release , the error will occur. I have tried some methods to solve it, however all the methods do not work. The detail of error is:

error[E0635]: unknown feature `proc_macro_span_shrink`
  --> /Users/qixian/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.56/src/lib.rs:92:30
   |
92 |     feature(proc_macro_span, proc_macro_span_shrink)
   |                              ^^^^^^^^^^^^^^^^^^^^^^

For more information about this error, try `rustc --explain E0635`.
error: could not compile `proc-macro2` (lib) due to previous error

Please help me fix the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant