Variants that lower LDL cholesterol through pathways such as HMGCR and NPC1L1 are linked to a higher risk of type 2 diabetes.