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

Import everything from the parent scope in derives #113

Merged
merged 2 commits into from Aug 1, 2018
Merged

Conversation

Ogeon
Copy link
Owner

@Ogeon Ogeon commented Aug 1, 2018

This removes the warnings without breaking anything that wasn't broken before. Turns out that extern crate in a function scope has some strange behaviors, so I'm not going to do the function change just yet. I will change #111 not be about the hygiene warning, but just un-breaking cases where #[derive(...)] is already broken.

@Ogeon
Copy link
Owner Author

Ogeon commented Aug 1, 2018

bors r+

bors bot added a commit that referenced this pull request Aug 1, 2018
113: Import everything from the parent scope in derives r=Ogeon a=Ogeon

This removes the warnings without breaking anything that wasn't broken before. Turns out that `extern crate` in a function scope has some strange behaviors, so I'm not going to do the function change just yet. I will change #111 not be about the hygiene warning, but just un-breaking cases where `#[derive(...)]` is already broken.

Co-authored-by: Erik Hedvall <erikwhedvall@gmail.com>
@bors
Copy link
Contributor

bors bot commented Aug 1, 2018

Build succeeded

@bors bors bot merged commit f70f926 into 0.4 Aug 1, 2018
@bors bors bot deleted the fix_hygiene_warnings branch August 1, 2018 19:20
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.

None yet

1 participant