rust/tests
Matthias Krüger 197898d003
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
2025-05-21 08:05:11 +02:00
..
assembly Auto merge of #140925 - the8472:test-140207, r=compiler-errors 2025-05-12 04:32:50 +00:00
auxiliary stabilize naked_functions 2025-04-20 11:18:38 +02:00
codegen feat: add codegen test 2025-05-11 17:54:57 +02:00
codegen-units Remove mono item collection strategy override from -Zprint-mono-items 2025-05-09 12:19:09 +02:00
coverage coverage: Detect unused local file IDs to avoid an LLVM assertion 2025-05-10 00:24:03 +10:00
coverage-run-rustdoc Update coverage-run-rustdoc output 2025-03-28 10:35:53 +01:00
crashes Rollup merge of #141236 - jagunter:issue-140823, r=compiler-errors 2025-05-20 16:50:39 +02:00
debuginfo [win][arm64] Disable various DebugInfo tests that don't work on Arm64 Windows 2025-05-07 10:49:54 -07:00
incremental Remove manual WF hack 2025-05-07 16:29:59 +00:00
mir-opt make std::intrinsic functions actually be intrinsics 2025-05-20 08:09:16 +02:00
pretty feat: add generated parameters to generated function 2025-05-11 17:54:57 +02:00
run-make Rollup merge of #141045 - dpaoliello:noarmhazard, r=jieyouxu 2025-05-18 11:03:46 +02:00
rustdoc Created tests/rustdoc/async subfolder to limit number of files at the top level 2025-05-05 17:49:12 +02:00
rustdoc-gui rustdoc: add a handle that makes sidebar resizing more obvious 2025-05-09 12:38:00 -07:00
rustdoc-js rustdoc-search: add unbox flag to Result aliases 2025-04-11 11:36:40 -07:00
rustdoc-js-std Consistent trait bounds for ExtractIf Debug impls 2025-05-05 19:46:46 -07:00
rustdoc-json rustdoc-json: Remove newlines from attributes 2025-05-07 18:45:58 +00:00
rustdoc-ui Rollup merge of #139863 - fmease:simp-doctest-build-arg-passing, r=GuillaumeGomez 2025-05-09 21:50:06 +02:00
ui Rollup merge of #140981 - est31:guard_let_chains_tests, r=petrochenkov 2025-05-21 08:05:11 +02:00
ui-fulldeps Auto merge of #140453 - Zoxc:next-disambiguator, r=oli-obk 2025-05-05 11:50:43 +00:00
COMPILER_TESTS.md