I agree he will pray for you and that he can’t discuss what you said.
If you feel better or have made a move to see a doctor or a counsellor or something then compassion dictates that it might be nice to take him aside and let him know after mass or ask to speak to him briefly just to update him out of kindness. He will trust in God to help you, but of course he will have concern.
I do hope you get some help, I have felt that way before and there is a way forward to feel better. God bless you I will pray for you, how lovely and kind of you to think how the priest will feel.