Skip to content

Commit 4072bef

Browse files
committed
Make 2024 edition syntax conditional on compiler version
1 parent 46475b7 commit 4072bef

File tree

2 files changed

+93
-50
lines changed

2 files changed

+93
-50
lines changed

macro/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ experimental-enum-variants-from-header = ["clang-ast", "flate2", "memmap", "serd
2323
[dependencies]
2424
proc-macro2 = "1.0.74"
2525
quote = "1.0.35"
26+
rustversion = "1"
2627
syn = { version = "2.0.46", features = ["full"] }
2728

2829
# optional dependencies:

0 commit comments

Comments
 (0)