rust-analyzer/crates
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
..
base-db CrateOrigin::Local means local to the project workspace, not cargo workspace 2024-02-16 16:28:17 +01:00
cfg Merge commit '7219414e81810fd4d967136c4a0650523892c157' into sync-from-ra 2024-01-28 15:56:54 +02:00
flycheck fix: Set RUSTUP_TOOLCHAIN and invoke the proxies instead of directly invoking sysroot binaries 2024-02-14 15:13:45 +01:00
hir Cleanup term search related changes 2024-02-11 14:35:54 +02:00
hir-def Auto merge of #117772 - surechen:for_117448, r=petrochenkov 2024-02-18 13:56:07 +00:00
hir-expand fix: Split toolchain and datalayout out of CrateData 2024-02-16 14:48:25 +01:00
hir-ty Auto merge of #117772 - surechen:for_117448, r=petrochenkov 2024-02-18 13:56:07 +00:00
ide CrateOrigin::Local means local to the project workspace, not cargo workspace 2024-02-16 16:28:17 +01:00
ide-assists Auto merge of #117772 - surechen:for_117448, r=petrochenkov 2024-02-18 13:56:07 +00:00
ide-completion Auto merge of #117772 - surechen:for_117448, r=petrochenkov 2024-02-18 13:56:07 +00:00
ide-db Auto merge of #117772 - surechen:for_117448, r=petrochenkov 2024-02-18 13:56:07 +00:00
ide-diagnostics CrateOrigin::Local means local to the project workspace, not cargo workspace 2024-02-16 16:28:17 +01:00
ide-ssr ide-ssr: Fix warnings about clippy str_to_string rule 2024-02-10 01:00:40 +09:00
intern Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
limit Lint debug prints and disallowed types with clippy 2024-02-01 17:57:27 +01:00
load-cargo fix: Split toolchain and datalayout out of CrateData 2024-02-16 14:48:25 +01:00
mbe fix: Fix macro transcriber emitting incorrect lifetime tokens 2024-02-11 12:10:38 +01:00
parser Add support for const and async trait bounds 2024-02-16 16:00:04 +00:00
paths Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
proc-macro-api fix: Pass .cargo/config.toml env vars to proc-macro server 2024-02-13 19:42:03 +01:00
proc-macro-srv Merge commit 'ac998a74b3c8ff4b81c3eeb9a18811d4cc76226d' into sync-from-ra 2024-02-18 09:41:20 +02:00
proc-macro-srv-cli Merge commit '0113bc9388b480fa42c632f57f4f0f7af5813ec1' into sync-from-ra 2024-02-04 10:37:58 +02:00
profile Merge commit '0113bc9388b480fa42c632f57f4f0f7af5813ec1' into sync-from-ra 2024-02-04 10:37:58 +02:00
project-model CrateOrigin::Local means local to the project workspace, not cargo workspace 2024-02-16 16:28:17 +01:00
rust-analyzer Auto merge of #117772 - surechen:for_117448, r=petrochenkov 2024-02-18 13:56:07 +00:00
salsa Auto merge of #117772 - surechen:for_117448, r=petrochenkov 2024-02-18 13:56:07 +00:00
sourcegen sourcegen: Fix warnings about clippy str_to_string rule 2024-02-10 01:00:40 +09:00
span internal: Remove SELF_REF hack for self referential SyntaxContexts 2024-02-10 16:20:02 +01:00
stdx Merge commit '0113bc9388b480fa42c632f57f4f0f7af5813ec1' into sync-from-ra 2024-02-04 10:37:58 +02:00
syntax Update grammar 2024-02-16 16:16:37 +00:00
test-fixture CrateOrigin::Local means local to the project workspace, not cargo workspace 2024-02-16 16:28:17 +01:00
test-utils fix: Split toolchain and datalayout out of CrateData 2024-02-16 14:48:25 +01:00
text-edit text-edit: Fix warnings about clippy str_to_string rule 2024-02-10 01:00:41 +09:00
toolchain internal: tool discovery prefers sysroot tools 2024-02-12 12:08:18 +01:00
tt fix: Fix macro transcriber emitting incorrect lifetime tokens 2024-02-11 12:10:38 +01:00
vfs vfs: Fix warnings about clippy str_to_string rule 2024-02-10 01:00:40 +09:00
vfs-notify Merge commit 'a9116523604c998e7781f60d3b5a6f586e0414a9' into sync-from-ra 2024-01-21 16:53:06 +02:00