fn collect_state_writes<'hir>( hir: &'hir Hir<'hir>, block: Block<'hir>, candidates: &HashSet<VariableId>, writes: &mut HashSet<VariableId>, )