unused_extern_crates: wrong suggestion for aliased crate #57672
Labels
A-frontend
Area: Compiler frontend (errors, parsing and HIR)
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
A-resolve
Area: Name resolution
A-suggestion-diagnostics
Area: Suggestions generated by the compiler applied by `cargo fix`
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The following suggests converting to a
use
, but that causes it to fail to compile becauseuse
does not insert into the prelude.Perhaps the suggestion should be removed if there is a rename?
rustc 1.33.0-nightly (2fadb0a 2019-01-13)
(This is after uniform-paths and the #57557 fix.)
The text was updated successfully, but these errors were encountered: