rust-analyzer/crates/salsa/src
bors 8c9ca771c9 Auto merge of #117772 - surechen:for_117448, r=petrochenkov
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
```
2024-02-18 13:56:07 +00:00
..
derived Remove dev-dependency insta 2024-02-07 16:30:20 +01:00
runtime Remove dev-dependency insta 2024-02-07 16:30:20 +01:00
debug.rs 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. 2024-02-18 16:38:11 +08:00
derived.rs 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. 2024-02-18 16:38:11 +08:00
durability.rs Remove dev-dependency insta 2024-02-07 16:30:20 +01:00
hash.rs Remove dev-dependency insta 2024-02-07 16:30:20 +01:00
input.rs 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. 2024-02-18 16:38:11 +08:00
intern_id.rs Remove dev-dependency insta 2024-02-07 16:30:20 +01:00
interned.rs 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. 2024-02-18 16:38:11 +08:00
lib.rs Remove salsa doc compile tests 2024-02-15 17:28:24 +01:00
lru.rs Remove dev-dependency insta 2024-02-07 16:30:20 +01:00
plumbing.rs Optimize input queries that take no arguments 2024-02-07 18:04:02 +01:00
revision.rs Remove dev-dependency insta 2024-02-07 16:30:20 +01:00
runtime.rs Remove dev-dependency insta 2024-02-07 16:30:20 +01:00
storage.rs Remove dev-dependency insta 2024-02-07 16:30:20 +01:00