Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign up#![warn(rust_2018_idioms)] proposes incorrect resolution to extern crate #52832
Comments
alexcrichton
added
the
A-edition-2018-lints
label
Jul 29, 2018
alexcrichton
modified the milestones:
Rust 2018 Preview 2,
Rust 2018 RC
Jul 31, 2018
Mark-Simulacrum
modified the milestones:
Rust 2018 RC,
Edition RC 2
Jul 31, 2018
This comment has been minimized.
This comment has been minimized.
alexcrichton
closed this
Aug 24, 2018
alexcrichton
referenced this issue
Aug 24, 2018
Closed
unused_extern_crates lint should handle aliasing #52451
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
johnthagen commentedJul 29, 2018
Reported from discussion on internals forum about transitioning to Rust 2018.
main.rs:Cargo.toml:The lints that say
help: convert it to a 'use'should all sayremove it. If you change it touse, the next time you build, you get an "unused use" warning, at which point you have to remove it anyway to remove the warning.