diff options
| author | bors <bors@rust-lang.org> | 2023-03-13 16:54:43 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-03-13 16:54:43 +0000 |
| commit | 544b4cfe4de2119807eb4d874c2cf095c5587bc4 (patch) | |
| tree | a63afd5969c07f291a7c9bfa53baa214b8c003df /docs/dev | |
| parent | c6da2f9d96a71bee04d194a85ed76edb0259db5b (diff) | |
| parent | b2f6fd4f961fc7e4fbfdb80cae2e6065f8436f15 (diff) | |
| download | rust-544b4cfe4de2119807eb4d874c2cf095c5587bc4.tar.gz rust-544b4cfe4de2119807eb4d874c2cf095c5587bc4.zip | |
Auto merge of #109069 - lnicola:rust-analyzer-2023-03-13, r=lnicola
:arrow_up: `rust-analyzer` r? `@ghost`
Diffstat (limited to 'docs/dev')
| -rw-r--r-- | docs/dev/lsp-extensions.md | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/docs/dev/lsp-extensions.md b/docs/dev/lsp-extensions.md index c3623a5cc46..de142203208 100644 --- a/docs/dev/lsp-extensions.md +++ b/docs/dev/lsp-extensions.md @@ -1,5 +1,5 @@ <!--- -lsp_ext.rs hash: d87477896dfe41d4 +lsp_ext.rs hash: 37f31ae648632897 If you need to change the above hash to make the test pass, please check if you need to adjust this doc as well and ping this issue: @@ -527,6 +527,17 @@ Primarily for debugging, but very useful for all people working on rust-analyzer Returns a textual representation of the HIR of the function containing the cursor. For debugging or when working on rust-analyzer itself. +## View Mir + +**Method:** `rust-analyzer/viewMir` + +**Request:** `TextDocumentPositionParams` + +**Response:** `string` + +Returns a textual representation of the MIR of the function containing the cursor. +For debugging or when working on rust-analyzer itself. + ## View File Text **Method:** `rust-analyzer/viewFileText` |
