Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use proc_macro2::Span instead of syn::export::Span #3

Merged
merged 1 commit into from
Jan 25, 2021
Merged

Use proc_macro2::Span instead of syn::export::Span #3

merged 1 commit into from
Jan 25, 2021

Conversation

nn1ks
Copy link

@nn1ks nn1ks commented Jan 9, 2021

In a recent commit in the syn crate, the export module was renamed which results in build errors for this crate since it uses syn::export::Span. The Span struct from syn is just a re-export of proc_macro2::Span which means it can be used directly.

@johnmaguire
Copy link

Thanks for this, just hit this issue when trying to build a package dependent on derive_setters.

nn1ks added a commit to nn1ks/huelib-rs that referenced this pull request Jan 23, 2021
Fixes a build error caused by the `derive_setters` crate.

More information: Lymia/derive_setters#3
@Lymia Lymia merged commit a6d5ad5 into Lymia:master Jan 25, 2021
@nn1ks nn1ks deleted the proc-macro2-span branch February 1, 2021 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants