Migrate parts of rustc_expand to session diagnostics
#104460
+640
−236
Merged