about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2023-10-10 15:44:33 +1100
committerZalathar <Zalathar@users.noreply.github.com>2023-10-10 18:44:16 +1100
commitf214497d22588c95b94f8ef89ca2db7d71424c36 (patch)
tree231dd61b362b15d31bd69912aa865df752ad18db /compiler/rustc_codegen_llvm/src/errors.rs
parentfa6d1e75125d9c94c21a58c2301492026031fcb8 (diff)
downloadrust-f214497d22588c95b94f8ef89ca2db7d71424c36.tar.gz
rust-f214497d22588c95b94f8ef89ca2db7d71424c36.zip
coverage: Replace `ShortCircuitPreorder` with a single function
Instead of defining a named struct, we can use `std::iter::from_fn` and store
intermediate state in a closure.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions