You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
git clone http://github.com/matthiaskrgr/cargo-rebuild-check
cd cargo-rebuild-check/
git checkout origin/rust_2018
cargo test
=>
Compiling cargo-rebuild-check v0.1.0 (file:///tmp/cargo-rebuild-check)
warning: `extern crate` is not idiomatic in the new edition========> ] 134/135: cargo-rebuild-check
|
note: lint level defined here
--> src/main.rs:11:5
|
11| unused
| ^^^^^^
= note: #[warn(unused_extern_crates)] implied by #[warn(unused)]
Finished dev [unoptimized + debuginfo] target(s) in 1m 24s
Running target/debug/deps/cargo_rebuild_check-49c258c37ade7bcc
I'm not sure what rustc is complaining about.
There simply is no "extern crate" inside the project at this point :/
It also fails to point me to the code location which is suspicious.
Squash all lints tied to foreign macros by default
This PR is a continuation of #49755 (thanks for the initial jump-start @Dylan-DPC!) and is targeted at solving #48855. This change updates the lint infrastructure to, by default, ignore all lints emitted for code that originates in a foreign macro. For example if `println!("...")` injects some idiomatic warnings these are all ignored by default. The rationale here is that for almost all lints there's no action that can be taken if the code originates from a foreign lint.
Closes#48855Closes#52483Closes#52479
=>
I'm not sure what rustc is complaining about.
There simply is no "extern crate" inside the project at this point :/
It also fails to point me to the code location which is suspicious.
rustc 1.29.0-nightly (4f3c7a4 2018-07-17)
The text was updated successfully, but these errors were encountered: