about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2024-12-16 13:17:59 +0100
committerLukas Wirth <lukastw97@gmail.com>2024-12-16 13:20:55 +0100
commit9fc5ceff0eaec7cfeacce0b5fc6bea36b056083c (patch)
tree8f2146aad13d311d12703f7e4beb3e34405a9597 /compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp
parent7980b811f0a0224560a25fb2219221a662b1a862 (diff)
downloadrust-9fc5ceff0eaec7cfeacce0b5fc6bea36b056083c.tar.gz
rust-9fc5ceff0eaec7cfeacce0b5fc6bea36b056083c.zip
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.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions