According to Rashi's commentary based on Genesis Rabbah 74:4 was that Rachel died because of Jacob's curse. The Torah text says whomever "You find" as in whomever Laban finds the idols that person will die. But the idols were never found on Rachel by him and the Torah explicitly mentions how she even fooled her father into not finding them.
עִם אֲשֶׁר תִּמְצָא אֶת אֱלֹהֶיךָ לֹא יִחְיֶה
The Torah could have mentioned "whomever it is found" and it would have been self evident it was from the curse but the exact wording is תִּמְצָא = you will find. Of course Rachel did die by the curse as that is what chazal says so it must indeed be true. I'm just trying to probe further the logic behind why this is so. What is chazal's reasoning as to why based off the aforementioned?