errors: share SilentEmitter between rustc and rustfmt
#121301
+131
−108
Merged