fn walk_fields<'tcx>( tcx: TyCtxt<'tcx>, current_ty: Ty<'tcx>, field_indices: Vec<usize>, fields: &[String], ) -> Option<(Vec<usize>, Ty<'tcx>)>
Walk field names, retaining their indices and the final type.