Skip to content

Commit f3523df

Browse files
authored
Fix incorrect use of syn::exports (#7838)
* Fix incorrect use of syn::exports Instead of using `syn::exports` we should import the trait from the quote crate directly. * Use own macro for test cases to fix compilation with latest syn * Fix test
1 parent 452e736 commit f3523df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reward-curve/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ targets = ["x86_64-unknown-linux-gnu"]
1515
proc-macro = true
1616

1717
[dependencies]
18-
syn = { version = "1.0.7", features = ["full", "visit"] }
18+
syn = { version = "1.0.58", features = ["full", "visit"] }
1919
quote = "1.0.3"
2020
proc-macro2 = "1.0.6"
2121
proc-macro-crate = "0.1.4"

0 commit comments

Comments
 (0)