about summary refs log tree commit diff
path: root/tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs
diff options
context:
space:
mode:
authorYacin Tmimi <yacintmimi@gmail.com>2024-03-19 12:58:23 -0400
committerYacin Tmimi <yacintmimi@gmail.com>2024-03-19 13:48:07 -0400
commit911f6a438f1e6e6b1e80b56be638e6c193ec93ef (patch)
tree6548b3a51329481a18a06934b5a6580fc3a69f92 /tests/codegen/patchable-function-entry/patchable-function-entry-no-flag.rs
parentfe0415e17a6cda89ab7a8afa3cfe1dfc298e3ded (diff)
downloadrust-911f6a438f1e6e6b1e80b56be638e6c193ec93ef.tar.gz
rust-911f6a438f1e6e6b1e80b56be638e6c193ec93ef.zip
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 PR 121301 the
`SilentEmitter` was shared between rustc and rustfmt. This changed
rustfmt's behavior from ignoring all diagnostic to emitting fatal
diagnostics.

These changes allow rustfmt to maintain it's 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