Change to update enum use change in rust master.