The pedestrian was rushed to hospital from the scene