-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Rust auto-import selecting the incorrect entry #20148
Copy link
Copy link
Closed
Labels
area:language serverAn umbrella label for all language serversAn umbrella label for all language serversarea:languagesAn umbrella label for all programming languages syntax behaviorsAn umbrella label for all programming languages syntax behaviorsarea:languages/rustRust programming language supportRust programming language supportbugDEPRECATED label: use issue type 'Bug' insteadDEPRECATED label: use issue type 'Bug' instead
Metadata
Metadata
Assignees
Labels
area:language serverAn umbrella label for all language serversAn umbrella label for all language serversarea:languagesAn umbrella label for all programming languages syntax behaviorsAn umbrella label for all programming languages syntax behaviorsarea:languages/rustRust programming language supportRust programming language supportbugDEPRECATED label: use issue type 'Bug' insteadDEPRECATED label: use issue type 'Bug' instead
Type
Fields
Give feedbackNo fields configured for issues without a type.
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::Weakimportsstd::rc::Weakinstead.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