A car has crashed on the side of the road at night.