-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
= note: expected type `&syn::file::File` (struct `syn::file::File`)
found type `&syn::file::File` (struct `syn::file::File`)
note: Perhaps two different versions of crate `syn` are being used?
--> src/main.rs:38:39
|
38 | let functions = get_syn_functions(&syntax);
This is a snippet from the error i get when I want to get an entire syn-parsed file using syn-inline-mod.
Maybe this crate could be split into just doing the inline part and returning an entire inlined source code. Allowing one to use their own version of syn with the feature flags that I need.
And having the parsing part separate?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels