mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-10 12:18:49 +00:00
8c9ca771c9
Tracking import use types for more accurate redundant import checking fixes #117448 By tracking import use types to check whether it is scope uses or the other situations like module-relative uses, we can do more accurate redundant import checking. For example unnecessary imports in std::prelude that can be eliminated: ```rust use std::option::Option::Some;//~ WARNING the item `Some` is imported redundantly use std::option::Option::None; //~ WARNING the item `None` is imported redundantly ``` |
||
---|---|---|
.. | ||
derived | ||
runtime | ||
debug.rs | ||
derived.rs | ||
durability.rs | ||
hash.rs | ||
input.rs | ||
intern_id.rs | ||
interned.rs | ||
lib.rs | ||
lru.rs | ||
plumbing.rs | ||
revision.rs | ||
runtime.rs | ||
storage.rs |