about summary refs log tree commit diff
path: root/tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authordianne <diannes.gm@gmail.com>2025-08-10 15:52:41 -0700
committerdianne <diannes.gm@gmail.com>2025-08-10 16:34:11 -0700
commit8f649a7e585f03e69c61a5b8286a61b38307afe8 (patch)
tree3ded7873201ed67eb6e7c006fcdf2180ebf034a9 /tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-md5.rs
parent9449b786218d5c5b66222a774f445e1ccf3e3666 (diff)
downloadrust-8f649a7e585f03e69c61a5b8286a61b38307afe8.tar.gz
rust-8f649a7e585f03e69c61a5b8286a61b38307afe8.zip
clean up witness printing for tuple-like constructors
By construction, `subpatterns` contains all fields in order. Witness
patterns are constructed with all fields in order by
`WitnessPat::wild_from_ctor` and `WitnessStack::apply_constructor`, and
the order is preserved at `write_struct_like`'s call-site in
`print_witness_pat`. It's thus no longer necessary to go looking for
fields or handle missing fields.
Diffstat (limited to 'tests/codegen-llvm/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions