rust-analyzer/crates/ide-db
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
..
src fix: Fix path qualified auto-importing completions not working with re-exports 2024-12-16 13:20:55 +01:00
Cargo.toml Move text-edit into ide-db 2024-10-28 14:37:41 +01:00