pub fn fold_table_ref<F: ?Sized + IrFold>(
    fold: &mut F,
    table_ref: TableRef
) -> Result<TableRef>