#![warn(rust_2018_idioms)] proposes incorrect resolution to extern crate #52832
Labels
A-edition-2018
Area: The 2018 edition
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
Milestone
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.The text was updated successfully, but these errors were encountered: