rust-lang / rust-lang/rust-analyzer
Unable to resolve resource crate:%3Avec%3A%3AVec
Open
Nobody has claimed this yet.
A-doc-comments
A-ide
A-vscode
C-bug
S-actionable
- Dominant language
- Rust
- Stars
- 16.9k
- Forks
- 2.2k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 72
Description
I see an error dialog with the following message:
Unable to open ':vec::Vec'
Unable to resolve resource crate:%3Avec%3A%3AVec
.. when I hover my cursor on vec! to see its documentation and click the link to Vec in VSCode.
Environment:
- VSCode 1.57.0 with rust-analyzer extension 0.2.629
rust-analyzer 13da28cc2 2021-06-07 stablerustc 1.52.1 (9bc8c42bb 2021-05-09)

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure in VSCode by hovering over vec! and following the Vec documentation link, using the versions listed in the issue. Trace how the crate:%3Avec%3A%3AVec resource is resolved; done means the link opens Vec documentation without showing the error dialog.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100