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

Type alias is never used in infer_schema() #551

Closed
freiguy1 opened this Issue Dec 23, 2016 · 2 comments

Comments

Projects
None yet
2 participants
@freiguy1

freiguy1 commented Dec 23, 2016

I recently updated my project to diesel 0.9 from 0.5. I've migrated successfully, as there are no errors and it's working correctly, however I'm getting one particular warning which repeats 9 times when I build:

warning: type alias is never used: `BoxedQuery`, #[warn(dead_code)] on by default
 --> /builds/freiguy1/proj/db/src/schema.rs:1:1
  |
1 | infer_schema!("dotenv:DATABASE_URL");
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |
  = note: this error originates in a macro outside of the current crate

I apologize if I missed some documentation on this. I'm using rust nightly-2016-12-18.

Thanks!

@killercup

This comment has been minimized.

Member

killercup commented Dec 23, 2016

@freiguy1

This comment has been minimized.

freiguy1 commented Dec 24, 2016

thank you!

@freiguy1 freiguy1 closed this Dec 24, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment