Swtches to rust SSR query check
This commit is contained in:
@@ -906,7 +906,10 @@ pub fn handle_document_highlight(
|
||||
|
||||
pub fn handle_ssr(world: WorldSnapshot, params: req::SsrParams) -> Result<req::SourceChange> {
|
||||
let _p = profile("handle_ssr");
|
||||
world.analysis().structural_search_replace(¶ms.arg)??.try_conv_with(&world)
|
||||
world
|
||||
.analysis()
|
||||
.structural_search_replace(¶ms.query, params.parse_only)??
|
||||
.try_conv_with(&world)
|
||||
}
|
||||
|
||||
pub fn publish_diagnostics(world: &WorldSnapshot, file_id: FileId) -> Result<DiagnosticTask> {
|
||||
|
||||
Reference in New Issue
Block a user