Use WorkspaceEdit for ssr

This commit is contained in:
Aleksey Kladov
2020-05-22 00:28:49 +02:00
parent 59732df8d4
commit 5ef4ebff20
6 changed files with 43 additions and 9 deletions

View File

@@ -173,8 +173,8 @@ pub enum Ssr {}
impl Request for Ssr {
type Params = SsrParams;
type Result = SourceChange;
const METHOD: &'static str = "rust-analyzer/ssr";
type Result = lsp_types::WorkspaceEdit;
const METHOD: &'static str = "experimental/ssr";
}
#[derive(Debug, Deserialize, Serialize)]