about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-05-21 08:05:11 +0200
committerGitHub <noreply@github.com>2025-05-21 08:05:11 +0200
commit197898d00350e7b8cab427f7dc968b9357732e66 (patch)
tree38476bc4d491c161862d06e32704ed7ff41a024c /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parent87b454156998b945cf161c951f0fbc20ac292cf6 (diff)
parent7b45c59d40bf9136916eb487183999bfda18c99c (diff)
downloadrust-197898d00350e7b8cab427f7dc968b9357732e66.tar.gz
rust-197898d00350e7b8cab427f7dc968b9357732e66.zip
Rollup merge of #140981 - est31:guard_let_chains_tests, r=petrochenkov
Add match guard let chain drop order and scoping tests

We have a bunch of tests for if let chain drop order, but those tests don't cover match guard chains to the same depth. This PR adds the following tests:

* match guard equivalents of the if let chains tests in the `drop-order-comparisons.rs` test, added by  #133605.
* match guard equivalent of the `mir_let_chains_drop_order.rs` test, added by #107251
* match guard equivalent of `temporary-early-drop.rs`, added by #133093

The added tests all have variants for 2021 and 2024, showing that the behavior on both editions matches that of if let chains on 2024.

tracking issue: https://github.com/rust-lang/rust/issues/51114
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions