Internal mixing of rotating stars inferred from dipole gravity modes