A patient is prescribed metformin for type 2 diabetes.Which of the following is a contraindication for this medication?