Upgrade to syn 2.0
https://github.com/dtolnay/syn/releases/tag/2.0.0
The only change we needed to implement was using a different mechanism for parsing the parameters provided to the proc_macro.
It's definitely a nicer API as it allowed us to get rid of 2 panics.