Skip to content

Commit

Permalink
Temporarily pin proc-macro2 to fix broken nightly builds
Browse files Browse the repository at this point in the history
<dtolnay/proc-macro2#383> removed some
functionality we use due to a pending change to the upstream API.
Until the upstream API change is complete and the functionality is
restored in proc-macro2, pin an older version that still works
right now.
  • Loading branch information
csnover committed Jun 29, 2023
1 parent ab19e55 commit 3338ff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion binrw_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ proc-macro = true
[dependencies]
either = "1.8"
owo-colors = { version = "3", optional = true }
proc-macro2 = { version = "1", features = ["span-locations"] }
proc-macro2 = { version = "=1.0.56", features = ["span-locations"] }
quote = "1"
syn = { version = "1", features = ["extra-traits", "fold", "full", "visit"] }

Expand Down

0 comments on commit 3338ff8

Please sign in to comment.