Skip to content

Commit 3338ff8

Browse files
committed
Temporarily pin proc-macro2 to fix broken nightly builds
<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.
1 parent ab19e55 commit 3338ff8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

binrw_derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ proc-macro = true
1616
[dependencies]
1717
either = "1.8"
1818
owo-colors = { version = "3", optional = true }
19-
proc-macro2 = { version = "1", features = ["span-locations"] }
19+
proc-macro2 = { version = "=1.0.56", features = ["span-locations"] }
2020
quote = "1"
2121
syn = { version = "1", features = ["extra-traits", "fold", "full", "visit"] }
2222

0 commit comments

Comments
 (0)