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 authored and GitHub committed 2021-01-06 22:22:23 +01:00
1 parent 7eb5113f11
commit 8cdb5c01b6
16 files changed
+86 -107

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ proc-macro = true
[dependencies]
quote = "1.0.3"
syn = "1.0.7"
syn = "1.0.58"
proc-macro2 = "1.0"
[features]