You may be thinking birch trees. I’m allergic to certain raw fruits (cooked or canned ok), beans, and tree nuts (peanuts and cashews ok). I’m told this weird combination is a thing.
Thanks for the link! That at least makes it look like I didn't imagine the article. The one I remember was a more direct link between allergies to thing X, but only in the presence of thing Y. With no reported allergies to thing Y.