diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-03-24 17:08:15 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-24 17:08:15 +0100 |
| commit | 5e141e034c9f20de3bd34720b0b32567b1e5a705 (patch) | |
| tree | 012586dfe7b649ab9b5a4a6d865ad6cff9e57782 /tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs | |
| parent | 0aa66d170578c81b14a1a459eed9b6faa69fdeb4 (diff) | |
| parent | 911f6a438f1e6e6b1e80b56be638e6c193ec93ef (diff) | |
| download | rust-5e141e034c9f20de3bd34720b0b32567b1e5a705.tar.gz rust-5e141e034c9f20de3bd34720b0b32567b1e5a705.zip | |
Rollup merge of #122737 - ytmimi:conditionally_ignore_fatal_diagnostic, r=davidtwco
conditionally ignore fatal diagnostic in the SilentEmitter This change is primarily meant to allow rustfmt to ignore all diagnostics when using the `SilentEmitter`. Back in #121301 the `SilentEmitter` was shared between rustc and rustfmt. This changed rustfmt's behavior from ignoring all diagnostic to emitting fatal diagnostics, which lead to https://github.com/rust-lang/rustfmt/issues/6109. These changes allow rustfmt to maintain its previous behaviour when using the `SilentEmitter`, while allowing rustc code to still emit fatal diagnostics.
Diffstat (limited to 'tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs')
0 files changed, 0 insertions, 0 deletions
