about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-03-24 17:08:15 +0100
committerGitHub <noreply@github.com>2024-03-24 17:08:15 +0100
commit5e141e034c9f20de3bd34720b0b32567b1e5a705 (patch)
tree012586dfe7b649ab9b5a4a6d865ad6cff9e57782 /tests/codegen/patchable-function-entry
parent0aa66d170578c81b14a1a459eed9b6faa69fdeb4 (diff)
parent911f6a438f1e6e6b1e80b56be638e6c193ec93ef (diff)
downloadrust-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')
0 files changed, 0 insertions, 0 deletions