The Elven Accuracy feat, from Xanathar's Guide to Everything (pg. 74), says this:
Increase your Dexterity, Intelligence, Wisdom, or Charisma score by 1, to a maximum of 20
Whenever you have advantage on an attack roll using Dexterity, Intelligence, Wisdom, or Charisma, you can reroll one of the dice once.
My question is, if I increase, say, Dexterity by 1 using this feat, would the other benefit of this feat (about rerolling a die when you have advantage) only apply when making an attack roll using Dexterity, or could I use this with any of these abilities?
Given the fact that they have the same wording, and that clearly you are only meant to increase one ability score as per the first bullet, I wonder if that "ties you" to that ability for the second bullet.