unused_qualifications lint does not work on import path prefix #100979
Labels
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
A-resolve
Area: Name/path resolution done by `rustc_resolve` specifically
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
unused_qualifications lint does not work on import path prefix.
I tried this code:
tree:
|- main.rs
|- status.rs
I expected to see this happen: explanation
Instead, this happened: explanation
Meta
rustc --version --verbose
:However, the code is warned in Clion with Rust plugin (version 0.4.176.4815-222):
https://blog.jetbrains.com/rust/2022/05/19/what-s-new-in-intellij-rust-for-2022-1/#The_Unnecessarily_qualified_path_inspection
Backtrace
The text was updated successfully, but these errors were encountered: