mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-04 19:28:29 +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).