Remove obsolete RangeInfo usage in rename

This commit is contained in:
Lukas Wirth
2021-01-18 20:25:40 +01:00
parent 39282ec419
commit 21a6384ce6
4 changed files with 151 additions and 169 deletions

View File

@@ -809,7 +809,7 @@ pub(crate) fn handle_rename(
let change =
snap.analysis.rename(position, &*params.new_name)?.map_err(to_proto::rename_error)?;
let workspace_edit = to_proto::workspace_edit(&snap, change.info)?;
let workspace_edit = to_proto::workspace_edit(&snap, change)?;
Ok(Some(workspace_edit))
}