about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-03-26 19:24:09 +0000
committerbors <bors@rust-lang.org>2023-03-26 19:24:09 +0000
commitb99d5eb97315faca04a33bae40bd2fb809ba9d46 (patch)
tree25e353ec33fe1e70069bfabf797553416b4c50a0
parentf85fc285088129a131ecb83398d9f66922e0830e (diff)
parentef422406ef7e6960d215b596a24934436214a28e (diff)
downloadrust-b99d5eb97315faca04a33bae40bd2fb809ba9d46.tar.gz
rust-b99d5eb97315faca04a33bae40bd2fb809ba9d46.zip
Auto merge of #14415 - davidbarsky:davidbarsky/fix-unrenamed-reload-proc-macros-command, r=Veykril
finish renaming `rust-analyzer/reloadProcMacros` to `rust-analyzer/rebuildProcMacros`

I was trying out #14409, but noticed that actually _running_ that command resulted in VS Code raising an error. This allows me to successfully run `rust-analyzer/rebuildProcMacros`.
-rw-r--r--editors/code/src/lsp_ext.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/lsp_ext.ts b/editors/code/src/lsp_ext.ts
index 857f0ed3f60..952dbb3e88a 100644
--- a/editors/code/src/lsp_ext.ts
+++ b/editors/code/src/lsp_ext.ts
@@ -43,7 +43,7 @@ export const relatedTests = new lc.RequestType<lc.TextDocumentPositionParams, Te
     "rust-analyzer/relatedTests"
 );
 export const reloadWorkspace = new lc.RequestType0<null, void>("rust-analyzer/reloadWorkspace");
-export const rebuildProcMacros = new lc.RequestType0<null, void>("rust-analyzer/reloadProcMacros");
+export const rebuildProcMacros = new lc.RequestType0<null, void>("rust-analyzer/rebuildProcMacros");
 
 export const runFlycheck = new lc.NotificationType<{
     textDocument: lc.TextDocumentIdentifier | null;