Mushrooms are instruments of decay, but they in turn also decay after their short time in the sun.
These were very large, fleshy shrooms that the slugs didn't want to eat, but some insect (fly larvae?) chewed them up from the inside as they melted down.