I started driving home from work today and my '04 WRX started making a horrible rattling sound when I revved the engine over ~2k rpm or so. As I got to the stoplight on the offramp my engine died and the check engine light came on. I was able to get it started back up and I pulled off to the side of the road and opened the hood. The heat shield on the turbo was rattling like crazy and the engine was rocking more than usual. I have read other peoples problems with turbo rattling and it being one thing or another but didn't come across anyone else whose engine actually stopped because of the rattling.
I got the car towed to my mechanic who will look at it tomorrow but I was hoping someone on here might have an idea as to what is going on so I can give the mechanic a heads up. Any help / knowledge would be appreciated. Car has ~135k miles on it and has been running great, just changed my oil last week.
Thanks for looking!