-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Open
Labels
area:diagnosticsFeedback for diagnostics, error messages, logs, etcFeedback for diagnostics, error messages, logs, etcarea:languages/rustRust programming language supportRust programming language supportfrequency:uncommonBugs that happen for a small subset of users, special configurations, rare circumstances, etcBugs that happen for a small subset of users, special configurations, rare circumstances, etcpriority:P3Papercuts, minor issues with a clear workaround, cosmetic bugsPapercuts, minor issues with a clear workaround, cosmetic bugsstate:needs infoIssue that needs more information from the userIssue that needs more information from the userstate:needs reproNeeds reproduction steps / someone to reproduceNeeds reproduction steps / someone to reproduce
Description
Reproduction steps
- Start a new project
cargo new helloworld
- Open the project in Zed
zed helloworld
- Add
rust_decimalpackage
cargo add rust_decimal
- Open the
Cargo.tomlfile and there'll be yellow squiggly lines under the version number ofrust_decimalpackage. Hovering on it shows this message:rust_decimal: Unknown crate (2)
Current vs. Expected behavior
Current behavior: The diagnostics incorrectly show the "Unknown crate" warning even for valid crates.
Expected behavior: For valid crates, this warning shouldn't be shown.
Zed version and system specs
Zed: v0.217.3+stable.105.80433cb239e868271457ac376673a5f75bc4adb1 (Zed)
OS: macOS 26.2
Memory: 16 GiB
Architecture: aarch64
Attach Zed log file
Zed.log
Relevant Zed settings
settings.json
Relevant Keymap
keymap.json
(for AI issues) Model provider details
No response
If you are using WSL on Windows, what flavor of Linux are you using?
None
Metadata
Metadata
Assignees
Labels
area:diagnosticsFeedback for diagnostics, error messages, logs, etcFeedback for diagnostics, error messages, logs, etcarea:languages/rustRust programming language supportRust programming language supportfrequency:uncommonBugs that happen for a small subset of users, special configurations, rare circumstances, etcBugs that happen for a small subset of users, special configurations, rare circumstances, etcpriority:P3Papercuts, minor issues with a clear workaround, cosmetic bugsPapercuts, minor issues with a clear workaround, cosmetic bugsstate:needs infoIssue that needs more information from the userIssue that needs more information from the userstate:needs reproNeeds reproduction steps / someone to reproduceNeeds reproduction steps / someone to reproduce