Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'docs/book/src/contributing/lsp-extensions.md')
| -rw-r--r-- | docs/book/src/contributing/lsp-extensions.md | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/docs/book/src/contributing/lsp-extensions.md b/docs/book/src/contributing/lsp-extensions.md index 5922f0b551..5d21c37806 100644 --- a/docs/book/src/contributing/lsp-extensions.md +++ b/docs/book/src/contributing/lsp-extensions.md @@ -1,5 +1,5 @@ <!--- -lsp/ext.rs hash: 78e87a78de8f288e +lsp/ext.rs hash: 235f56089da3dbb5 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: @@ -731,6 +731,17 @@ For debugging or when working on rust-analyzer itself. Returns a textual representation of the MIR of the function containing the cursor. For debugging or when working on rust-analyzer itself. +## Get Failed Obligations + +**Method:** `rust-analyzer/getFailedObligations` + +**Request:** `TextDocumentPositionParams` + +**Response:** `string` + +Returns information about failed trait obligations at the given position. +For debugging or when working on rust-analyzer itself. + ## Interpret Function **Method:** `rust-analyzer/interpretFunction` |