Use WorkspaceEdit for ssr
This commit is contained in:
@@ -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)]
|
||||
|
||||
Reference in New Issue
Block a user