Thank you, everyone. Your advice was helpful despite my not revealing the disorder my friend has struggled with.
I told my friend my thoughts over the weekend and she handled it very, very well. She never had a name for it before, but she has recognized her weaknesses and tried to improve on them over the course of her life (something I didn't know before I talked to her about it), and I think having a name for it helped her a lot. So I am very relieved it went so well, and glad I said something to her despite my worries that she would take it wrong.