aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2019-03-03 11:44:01 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2019-03-03 11:44:01 +0000
commit17aaece6b39c2fb525be0eccce4626fc622e8236 (patch)
tree864de162bea4cf160a78d56d6f3a0c0fd82ca73a /editors
parent00b09bcd8c96c37633964aa40df711dc013a6ca5 (diff)
parent2e8f25884584ec7dd21bdd4be1bcf1c857efa35e (diff)
Merge #917
917: Trait tests r=flodiebold a=flodiebold This adds a bunch of basic tests for trait functionality, just to outline what seems like the first goals for that ;) It also changes the display of `Ty::Unknown` to `{unknown}`, since `[unknown]` could be confused with a slice, and fixes an error in the emacs runnables code. Co-authored-by: Florian Diebold <[email protected]>
Diffstat (limited to 'editors')
-rw-r--r--editors/emacs/ra-emacs-lsp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/emacs/ra-emacs-lsp.el b/editors/emacs/ra-emacs-lsp.el
index 4af65c7f0..780182f8a 100644
--- a/editors/emacs/ra-emacs-lsp.el
+++ b/editors/emacs/ra-emacs-lsp.el
@@ -138,7 +138,7 @@
138 (add-hook 'rust-mode-hook 'rust-analyzer--add-er-expansion)) 138 (add-hook 'rust-mode-hook 'rust-analyzer--add-er-expansion))
139 139
140;; runnables 140;; runnables
141(defvar rust-analyzer--last-runnable) 141(defvar rust-analyzer--last-runnable nil)
142 142
143(defun rust-analyzer--runnables-params () 143(defun rust-analyzer--runnables-params ()
144 (list :textDocument (lsp--text-document-identifier) 144 (list :textDocument (lsp--text-document-identifier)