diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-01-12 08:04:22 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-01-12 10:25:22 +1100 |
| commit | 3330940f7f2ec6ce7babd53240702406efaf13d1 (patch) | |
| tree | adc9bab23470d1a66b332353a3ac56217b252c65 /compiler/rustc_interface/src/errors.rs | |
| parent | 62d7ed4a6775c4490e493093ca98ef7c215b835b (diff) | |
| download | rust-3330940f7f2ec6ce7babd53240702406efaf13d1.tar.gz rust-3330940f7f2ec6ce7babd53240702406efaf13d1.zip | |
Avoid repetition in `flush_delayed` calls.
There are two places that handle normal delayed bugs. This commit factors out some repeated code. Also, we can use `std::mem::take` instead of `std::mem::replace`.
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
