A nurse practitioner prescribes metformin for a patient with type 2 diabetes.Which condition is an absolute contraindication to metformin use?