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.
I found “Oral allergy syndrome” http://acaai.org/allergies/types/food-allergies/types-food-a...