pub fn prepare_rename<'a>(
index: &'a ProjectIndex,
path: &Path,
offset: usize,
) -> Option<(&'a SymbolKey, &'a SiteRef)>Expand description
prepareRename: the renameable range under the cursor, or None for
out-of-scope symbols (locals, unit names) —
the request is refused rather than falling through to a partial rename.