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
{{ message }}
Repository navigation
Regression building proc-macro2 1.0.59 with nightly-2023-06-28 #113152
proc_macro2 1.0.59 Fails to build with nightly-2023-06-28 but succeeds building on nightly-2023-06-27
Code
Create a new binary project with cargo new --bin buildtest
add dependency on proc_macro2 with proc_macro feature:
[dependencies]
proc-macro2 = { version = "=1.0.59", features=["default", "proc-macro"] }
Try building binary with cargo build, it will not work and fail with the following error:
error[E0635]: unknown feature `proc_macro_span_shrink`
--> /home/david/.cargo/registry/src/index.crates.io-6f17d22bba15001f/proc-macro2-1.0.59/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
#111571 changed the feature gate. proc-macro2 is enabling the nightly feature that doesn't exist anymore. This is an issue with the proc-macro2 crate (cc @dtolnay).
I'm going to leave this issue open for now so that other people can see it.
Activity
Noratrieb commentedon Jun 29, 2023
#111571 changed the feature gate. proc-macro2 is enabling the nightly feature that doesn't exist anymore. This is an issue with the proc-macro2 crate (cc @dtolnay).
I'm going to leave this issue open for now so that other people can see it.
Nemo157 commentedon Jun 29, 2023
It is fixed in proc-macro2 1.0.60+ dtolnay/proc-macro2#391
davidv1992 commentedon Jun 29, 2023
Good to know it is intended breakage, will upgrade then.
Fix the build with the latest nightly compiler.
79 remaining items
Bump proc-macro2 from 1.0.50 to 1.0.66 in /src/bare-metal/microcontro… (
Bump some dependencies to fix build issues
fix blog post branch merge conflicts (#1459)
Fix compilation on latest nightly toolchain
Fix compilation on latest nightly toolchain
style(clippy): fix all new clippy errors with 'rustc:1.73.0'
style(clippy): fix all new clippy errors with 'rustc:1.73.0' (#111)
Force rust nightly for the examples and bump of the dependencies vers…
Bump proc-macro2 to 1.0.60
Update proc-macro2
fix CI failure
fix CI failure
fix sending a message from a rust client to a python worker with redi…
fix compiled on `proc_macro_span_shrink` was removed
Update proc-macro2 pin