HMGCR and type 2 diabetes mellitus: We examined the joint associations of optimal glycemic control (HbA1c <7%), RAS inhibitors and HMGCR inhibitors on cancer incidence in patients with type 2 diabetes.