rust-analyzer/crates
Lukas Wirth ada5f2059c fix: Fix path qualified auto-importing completions not working with re-exports
Prior to this commit we used to generate import paths, then zipped them with the existing qualifier to check if they agree on the path to import.
This is brittle when re-exports come into play causing items to have multiple applicable paths that refer to them.
This commit instead rewrites this logic by generating the import path for the qualifier, verifying that the rest of the qualifier resolves and then doing a final lookup on that resolution result for the final segment instead.
2024-12-16 13:20:55 +01:00
..
base-db Remove patch sysroot cfg-if hack 2024-12-09 11:42:51 +01:00
cfg Support cfg(true) and cfg(false) 2024-10-27 10:46:49 +02:00
edition Properly handle different defaults for severity of lints 2024-12-11 20:48:41 +02:00
hir fix: Fix path qualified auto-importing completions not working with re-exports 2024-12-16 13:20:55 +01:00
hir-def Report unresolved idents for implicit captures in format_args!() 2024-12-16 10:10:26 +02:00
hir-expand Merge pull request #18674 from Veykril/push-lrxotqknvxvr 2024-12-13 08:50:45 +00:00
hir-ty Bump typos 2024-12-13 11:45:44 +02:00
ide internal: Show mir eval errors on hover with debug env var set 2024-12-15 17:38:37 +01:00
ide-assists fix: Fix path qualified auto-importing completions not working with re-exports 2024-12-16 13:20:55 +01:00
ide-completion fix: Fix path qualified auto-importing completions not working with re-exports 2024-12-16 13:20:55 +01:00
ide-db fix: Fix path qualified auto-importing completions not working with re-exports 2024-12-16 13:20:55 +01:00
ide-diagnostics Report unresolved idents for implicit captures in format_args!() 2024-12-16 10:10:26 +02:00
ide-ssr Show expansion errors in expand_macro feature 2024-12-13 09:36:03 +01:00
intern internal: Implement naked_asm! builtin 2024-12-12 17:43:27 +01:00
limit Replace [package.repository] = "…" of published crates with [package.repository.workspace] = true 2024-08-06 00:26:42 +02:00
load-cargo fix: Fix sourceroot construction for virtual manifests 2024-12-12 12:58:18 +01:00
mbe fix: FIx mbe bench tests being iteration order dependent 2024-10-21 11:54:49 +02:00
parser Properly handle different defaults for severity of lints 2024-12-11 20:48:41 +02:00
paths Replace [package.repository] = "…" of published crates with [package.repository.workspace] = true 2024-08-06 00:26:42 +02:00
proc-macro-api internal: Drop proc-macro server support for ~1.66.0 and older toolchains 2024-12-12 15:06:14 +01:00
proc-macro-srv fix: Fix proc-macro dylib names on windows 2024-12-15 17:38:44 +01:00
proc-macro-srv-cli Do not require a special env var to be set for the proc-macro-srv 2024-12-13 09:29:16 +01:00
profile Use c"lit" for CStrings without unwrap 2024-12-02 18:16:36 +00:00
project-model fix: Fix sourceroot construction for virtual manifests 2024-12-12 12:58:18 +01:00
ra-salsa Fix a few typos 2024-12-13 09:54:35 +01:00
rust-analyzer Merge pull request #18698 from Veykril/push-vpqwrwxptsql 2024-12-16 10:39:19 +00:00
span internal: log original syntax on panic 2024-10-23 12:56:00 -07:00
stdx Merge pull request #18074 from ChayimFriedman2/typeref-source-map 2024-10-28 11:01:12 +00:00
syntax minor: Add item_static constructor to SyntaxFactory 2024-12-11 10:32:32 -05:00
syntax-bridge When glueing together tokens from macros, merge their spans 2024-09-29 22:58:15 +03:00
test-fixture Rename test fixture crates to ra_test_fixture 2024-12-09 11:40:21 +01:00
test-utils Remove unstable attributes in minicore 2024-12-09 11:17:17 +02:00
toolchain Replace [package.repository] = "…" of published crates with [package.repository.workspace] = true 2024-08-06 00:26:42 +02:00
tt Fix new nightly lints 2024-10-22 11:48:41 +02:00
vfs Rename object_safety to dyn_compatibility 2024-09-29 07:26:45 -04:00
vfs-notify Auto merge of #17843 - mo8it:flycheck, r=Veykril 2024-08-12 09:27:47 +00:00