rust-analyzer: inlay hints broken
rust-analyzer version: (eg. output of “Rust Analyzer: Show RA Version” command)
rust-analyzer version: 24cf957 2022-04-22 dev
rustc version: (eg. output of rustc -V)
rustc 1.60.0 (7737e0b5c 2022-04-04)
relevant settings: (eg. client settings, or environment variables like CARGO, RUSTUP_HOME or CARGO_HOME)
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 30 (14 by maintainers)
@EdJoPaTo okay, so it seems fixed for you. Thanks for the comprehensive testing.
@swq123459 let’s close this to keep things tidy.
@Veykril that’s https://github.com/rust-lang/rust-analyzer/issues/12027, but @swq123459 seems to have a different issue.
@EdJoPaTo I suppose you mean 1.66?
You don’t normally release directly from latest, normally you release stable versions. I’m building by cloning the repo and running cargo build --release, and installing by using the server path option to point to my compiled server binary.
However, looking at what output I get in vscode I do get this error message
WARN [3.5.2022 12.03.53]: LSP request failed { method: ‘rust-analyzer/inlayHints’, param: { textDocument: { uri: ‘file:///d%3A/repo/ra-test/src/main.rs’ } }, error: [$i [Error]: unknown request at Gt (c:\Users\Sheepyhead.vscode\extensions\matklad.rust-analyzer-0.4.0-dev\out\main.js:4:223) at rn (c:\Users\Sheepyhead.vscode\extensions\matklad.rust-analyzer-0.4.0-dev\out\main.js:3:6520) at Immediate.<anonymous> (c:\Users\Sheepyhead.vscode\extensions\matklad.rust-analyzer-0.4.0-dev\out\main.js:3:6373) at processImmediate (node:internal/timers:464:21)] { code: -32601, data: undefined } }