-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Some small refactorings #2305
Some small refactorings #2305
Conversation
I would prefer to have the 2018 edition change in a different PR.
So the problem here is the following: We use the macros also in diesel itself, as they are useful for us too. For example |
Interesting! Should I add a comment to the |
That's a good idea, otherwise I've forgotten that the next time I look at that code 🙈 |
So apparently CI does |
CI failure seems unrelated. |
I first thought I couldn't remove
use diesel;
because some crates didn't haveedition = "2018"
and started working on that. Then I realized the code the macros generate have to work in the 2015 edition so I probably can't remove the redundant import. (I still don't understand why things break inside diesel when I remove it, but that's not that important)If you want me to split this PR or remove the first commit altogether, I'm fine with that.