Make AssistContext::frange private

This commit is contained in:
Lukas Wirth
2021-10-13 14:39:37 +02:00
parent 086563f751
commit ccad89a2db
15 changed files with 31 additions and 24 deletions

View File

@@ -364,7 +364,7 @@ fn get_fn_target(
target_module: &Option<Module>,
call: CallExpr,
) -> Option<(GeneratedFunctionTarget, FileId, TextSize)> {
let mut file = ctx.frange.file_id;
let mut file = ctx.file_id();
let target = match target_module {
Some(target_module) => {
let module_source = target_module.definition_source(ctx.db());