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
I ran into this when using quick_error. Minimal test case (along with a Cargo.toml including quick-error="*" in [dependencies]):
quick-error="*"
[dependencies]
#![warn(unused_extern_crates)] #[macro_use] extern crate quick_error; quick_error! { #[derive(Debug)] enum Error { Msg(msg: String) { from() from(s: &'static str) -> (s.to_string()) description(msg) display("{}", msg) } }
This produces:
src/main.rs:4:1: 4:26 warning: unused extern crate src/main.rs:4 extern crate quick_error; ^~~~~~~~~~~~~~~~~~~~~~~~~ src/main.rs:1:9: 1:29 note: lint level defined here src/main.rs:1 #![warn(unused_extern_crates)] ^~~~~~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered:
Closing as a duplicate of #30849. Thanks!
Sorry, something went wrong.
No branches or pull requests
I ran into this when using quick_error. Minimal test case (along with a Cargo.toml including
quick-error="*"
in[dependencies]
):This produces:
The text was updated successfully, but these errors were encountered: