print named types correctly in struct field diags