about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2022-07-15 19:17:10 +0200
committerest31 <MTest31@outlook.com>2022-09-05 13:06:23 +0200
commit2d8460ef43d902f34ba2133fe38f66ee8d2fdafc (patch)
tree34e1a0d47e87656d89d3dbe5e4cdfb8a22558fee /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parent289279de116707f28cf9c18e4bbb8c6ec84ad75b (diff)
downloadrust-2d8460ef43d902f34ba2133fe38f66ee8d2fdafc.tar.gz
rust-2d8460ef43d902f34ba2133fe38f66ee8d2fdafc.zip
Add matrix based test for documenting the let / let else temporary drop order
The drop order of let and let else is supposed to be the same,
and in order to ensure this, the test checks that this holds for
the given list of cases.

The test also ensures that we drop the temporaries of the
condition before executing the else block.

We made the test matrix based so it can check all the possible
combinations and find out possible edge cases.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions