mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 18:57:19 +00:00

errors: share `SilentEmitter` between rustc and rustfmt Fixes rust-lang/rustfmt#6082. Shares the `SilentEmitter` between rustc and rustfmt, and gives it a fallback bundle (since it can emit diagnostics in some contexts).