We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There are a lot of method is never used: Something when cargo build.
Something
cargo build
So, I think we need #![allow(dead_code)]. What do you think?
The text was updated successfully, but these errors were encountered:
Unfortunately, putting #![allow(dead_code)] at the top of generated files would interfere with include!(): rust-lang/rust#18810
#![allow(dead_code)]
include!()
We could put #[allow(dead_code)] on every generated item, but that seems ugly.
#[allow(dead_code)]
So, I recommend that you add the #[allow(dead_code)] attribute yourself, at the location in the code where you include!() the generated code.
Sorry, something went wrong.
OK, I will try do that in build.rs. Thank you!
No branches or pull requests
There are a lot of method is never used:
Something
whencargo build
.So, I think we need #![allow(dead_code)]. What do you think?
The text was updated successfully, but these errors were encountered: