Skip to content

Rust error messages are not showing correctly on hover and making hover popovers unresponsive. #47585

@vickyqt

Description

@vickyqt

Reproduction steps

fn main() {
    let a = String::from("Hello");
    let b = "World";
    let x = longests(a.as_str(), b);
    println!("Longest: {x}");
}

fn longests(x: &str, y: &str) -> &str {
    if x > y { return x } else { return y };
}
  • Paste that above code
  • hover on that function parameters errors
  • the error box is buggy, not showing error and also making hovers popovers unresponsive.

Current vs. Expected behavior

Image
  • The error box is bugged and not showing errors.
  • if you then try to move your mouse to other error in message, it will stuck in on that previous one.
zed_error.mp4

Zed version and system specs

Zed: v0.220.5+stable.130.2c73170e7022e1172b82f587132148e00c81b8cf (Zed)
OS: Windows 10.0.26200
Memory: 23.7 GiB
Architecture: x86_64
GPU: Intel(R) Iris(R) Xe Graphics || Intel Corporation || 32.0.101.7076

Attach Zed log file

Zed.log
2026-01-25T14:52:14+05:30 INFO  [zed] ========== starting zed version 0.220.5+stable.130.2c73170e7022e1172b82f587132148e00c81b8cf, sha 2c73170 ==========
2026-01-25T14:52:14+05:30 INFO  [gpui::platform::windows::directx_devices] Using GPU: Intel(R) Iris(R) Xe Graphics
2026-01-25T14:52:14+05:30 INFO  [gpui::platform::windows::directx_devices] Created device with Direct3D 11.1 feature level.
2026-01-25T14:52:14+05:30 INFO  [gpui::platform::windows::direct_write] Use Segoe UI as UI font.
2026-01-25T14:52:14+05:30 INFO  [crashes] spawning crash handler process
2026-01-25T14:52:14+05:30 INFO  [extension_host] extensions updated. loading 16, reloading 0, unloading 0
2026-01-25T14:52:14+05:30 INFO  [crashes] connected to crash handler process after 100ms
2026-01-25T14:52:14+05:30 INFO  [crashes] crash handler registered
2026-01-25T14:52:14+05:30 ERROR [crates/gpui/src/platform/windows/platform.rs:234] Access is denied. (0x80070005)
2026-01-25T14:52:14+05:30 INFO  [client] set status on client 0: Authenticating
2026-01-25T14:52:14+05:30 INFO  [auto_update] Auto Update: checking for updates
2026-01-25T14:52:14+05:30 INFO  [workspace] Rendered first frame
2026-01-25T14:52:14+05:30 INFO  [zed::zed] Using GPU: GpuSpecs { is_software_emulated: false, device_name: "Intel(R) Iris(R) Xe Graphics", driver_name: "Intel Corporation", driver_info: "32.0.101.7076" }
2026-01-25T14:52:14+05:30 INFO  [util::shell] Found powershell in: C:\Program Files\PowerShell\7\pwsh.exe
2026-01-25T14:52:14+05:30 ERROR [crates/gpui/src/platform/windows/platform.rs:234] Access is denied. (0x80070005)
2026-01-25T14:52:15+05:30 INFO  [alacritty_terminal::tty::windows::conpty] Using conpty.dll for pseudoconsole
2026-01-25T14:52:15+05:30 INFO  [node_runtime] Node runtime install_if_needed
2026-01-25T14:52:15+05:30 INFO  [node_runtime] using Zed managed Node.js at C:\Users\Vaibhav\AppData\Local\Zed\node\node-v24.11.0-win-x64 since system Node.js wasn't found on PATH: cannot find binary path
2026-01-25T14:52:16+05:30 ERROR [project::context_server_store] Failed to create context server configuration from settings: from extension "Postgres Context Server" version 0.0.5: missing field `database_url`
2026-01-25T14:52:17+05:30 INFO  [client] set status on client 534277: Authenticated
2026-01-25T14:52:17+05:30 INFO  [lsp] starting language server process. binary path: "C:\\Users\\Vaibhav\\AppData\\Local\\Zed\\languages\\rust-analyzer\\rust-analyzer-2026-01-19\\rust-analyzer.exe", working directory: "C:\\Developer\\rust_bullshit\\pr1", args: []
2026-01-25T14:52:19+05:30 WARN  [project::lsp_store] Get diagnostics via rust-analyzer failed: server cancelled the request
2026-01-25T14:52:19+05:30 ERROR [project::lsp_store] Failed to pull diagnostics for buffer "pr1\\src\\main.rs": pulling diagnostics: Get diagnostics via rust-analyzer failed: server cancelled the request
2026-01-25T14:52:21+05:30 WARN  [project::lsp_store] Get diagnostics via rust-analyzer failed: server cancelled the request
2026-01-25T14:52:21+05:30 WARN  [project::lsp_store] Get diagnostics via rust-analyzer failed: server cancelled the request
2026-01-25T14:52:21+05:30 ERROR [project::lsp_store] Failed to pull diagnostics for buffer "pr1\\src\\main.rs": pulling diagnostics: Get diagnostics via rust-analyzer failed: server cancelled the request
2026-01-25T14:52:21+05:30 ERROR [project::lsp_store] Failed to pull diagnostics for buffer "pr1\\src\\main.rs": pulling diagnostics: Get diagnostics via rust-analyzer failed: server cancelled the request

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

No one assigned

    Labels

    area:languages/rustRust programming language supportarea:popoversFeedback for tooltips, syntax hints, info popups, toasts, etcfrequency:commonBugs that happen for at least a third of the users across all platforms and kinds of usagemeta:easy repro stepsSteps to reproduce are easypriority:P2Average run-of-the-mill bugsstate:needs reproNeeds reproduction steps and/or someone to reproduce

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions