Rust auto-import selecting the incorrect entry #20148
Labels
bug
[core label]
can't reproduce
Issue that can't be reproduced (transient, invalid, etc)
language server
An umbrella label for all language servers
language
An umbrella label for all programming languages syntax behaviors
rust
Rust programming language support
Check for existing issues
Describe the bug / provide steps to reproduce it
When there are multiple similar items, it always imports the first one, even if the other ones are selected.
Example:
When auto-importing
Weak
, selectingstd::sync::Weak
importsstd::rc::Weak
instead.Environment
Zed: v0.159.5 (Zed)
OS: Linux Wayland arch unknown
Memory: 93.5 GiB
Architecture: x86_64
GPU: AMD Radeon 680M (RADV REMBRANDT) || radv || Mesa 24.2.6-arch1.1
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
No response
The text was updated successfully, but these errors were encountered: