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
This commit is contained in:
Bastian Köcher
2021-01-06 22:22:23 +01:00
committed by GitHub
parent 7eb5113f11
commit 8cdb5c01b6
16 changed files with 86 additions and 107 deletions
@@ -15,5 +15,5 @@ targets = ["x86_64-unknown-linux-gnu"]
frame-support-procedural-tools-derive = { version = "2.0.0", path = "./derive" }
proc-macro2 = "1.0.6"
quote = "1.0.3"
syn = { version = "1.0.7", features = ["full", "visit"] }
syn = { version = "1.0.58", features = ["full", "visit"] }
proc-macro-crate = "0.1.5"