rust/crates/rust-analyzer/src
bors 1c10aa4735 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
..
bin Merge commit 'ac998a74b3' into sync-from-ra 2024-02-18 09:41:20 +02:00
cli Auto merge of #117772 - surechen:for_117448, r=petrochenkov 2024-02-18 13:56:07 +00:00
config Merge commit 'ddf105b646' into sync-from-ra 2024-02-11 08:40:19 +02:00
diagnostics Merge commit 'ddf105b646' into sync-from-ra 2024-02-11 08:40:19 +02:00
handlers Merge commit 'ac998a74b3' into sync-from-ra 2024-02-18 09:41:20 +02:00
lsp Merge commit 'ac998a74b3' into sync-from-ra 2024-02-18 09:41:20 +02:00
tracing Merge commit 'ddf105b646' into sync-from-ra 2024-02-11 08:40:19 +02:00
caps.rs Merge commit 'ddf105b646' into sync-from-ra 2024-02-11 08:40:19 +02:00
cargo_target_spec.rs Auto merge of #117772 - surechen:for_117448, r=petrochenkov 2024-02-18 13:56:07 +00:00
cli.rs Merge commit 'ddf105b646' into sync-from-ra 2024-02-11 08:40:19 +02:00
config.rs Merge commit 'ac998a74b3' into sync-from-ra 2024-02-18 09:41:20 +02:00
diagnostics.rs Merge commit 'ddf105b646' into sync-from-ra 2024-02-11 08:40:19 +02:00
diff.rs Fix last few warnings manually 2022-07-20 15:05:02 +02:00
dispatch.rs Merge commit 'ddf105b646' into sync-from-ra 2024-02-11 08:40:19 +02:00
global_state.rs Merge commit 'ac998a74b3' into sync-from-ra 2024-02-18 09:41:20 +02:00
integrated_benchmarks.rs Merge commit 'ac998a74b3' into sync-from-ra 2024-02-18 09:41:20 +02:00
lib.rs Merge commit 'ac998a74b3' into sync-from-ra 2024-02-18 09:41:20 +02:00
line_index.rs Merge commit 'a911652360' into sync-from-ra 2024-01-21 16:53:06 +02:00
lsp.rs Merge commit '7219414e81' into sync-from-ra 2024-01-28 15:56:54 +02:00
main_loop.rs Merge commit 'ac998a74b3' into sync-from-ra 2024-02-18 09:41:20 +02:00
mem_docs.rs Merge commit '9d8889cdfc' into sync-from-ra 2024-01-15 11:40:09 +02:00
op_queue.rs Merge commit 'aa9bc86125' into sync-from-ra 2023-06-05 12:04:23 +03:00
reload.rs Merge commit 'ac998a74b3' into sync-from-ra 2024-02-18 09:41:20 +02:00
task_pool.rs Merge commit 'ddf105b646' into sync-from-ra 2024-02-11 08:40:19 +02:00
version.rs Bring the version command output in line with other rust tools 2022-06-02 18:36:02 +02:00