The ability to taste bitter flavors probably didn't evolve as a self-defense mechanism

Rhubarb leaves are not drop-dead-from-a-nibble poisonous.

It’s possible to make yourself good and sick, even to kill yourself eating them - but you’d have to eat a large amount to achieve either.