Right method for activating internal pull-up resistors

How would it damage the pin? An input pin is high impedance.