diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2022-09-06 08:36:03 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-06 08:36:03 +0900 |
| commit | 0e6747fb2538d394ede02210fff4e77afb5aec2e (patch) | |
| tree | 6017fe22d2a5b9c8a594c3c65717da2b71bd9425 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs | |
| parent | b44197abb0b3ffe4908892e1e08ab1cd721ff3b9 (diff) | |
| parent | 2d8460ef43d902f34ba2133fe38f66ee8d2fdafc (diff) | |
| download | rust-0e6747fb2538d394ede02210fff4e77afb5aec2e.tar.gz rust-0e6747fb2538d394ede02210fff4e77afb5aec2e.zip | |
Rollup merge of #99291 - est31:let_else_tests, r=joshtriplett
Add let else drop order tests Add a systematic matrix based test that checks temporary drop order in various settings, `let-else-drop-order.rs`, as requested [here](https://github.com/rust-lang/rust/pull/93628#issuecomment-1055738523). The drop order of let and let else is supposed to be the and in order to ensure this, the test checks that this holds for a number of cases. The test also ensures that we drop the temporaries of the condition before executing the else block. cc #87335 tracking issue for `let else`
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions
