If it was the sun, Mercury would be hotter than Venus and Mercury wouldn't have a colder minimum temp (-170 degrees Celsius) than Earth.