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
..
2024-11-22 11:12:15 -08:00
2025-04-11 16:31:28 +00:00
2025-04-11 16:31:28 +00:00
2025-04-11 16:31:28 +00:00
2025-04-11 16:31:28 +00:00
2025-03-11 12:05:02 +00:00
2025-03-11 12:05:02 +00:00
2025-04-18 14:21:14 +02:00
2025-04-18 14:21:14 +02:00
2023-01-11 09:32:08 +00:00
2023-11-24 19:15:52 +01:00
2024-02-16 20:02:50 +00:00
2024-11-26 02:50:48 +08:00
2024-11-26 02:50:48 +08:00
2025-05-13 16:22:48 +02:00
2025-05-13 16:22:48 +02:00
2025-05-13 16:22:48 +02:00
2024-09-13 14:10:56 +03:00
2024-09-13 14:10:56 +03:00
2025-01-23 20:51:29 +08:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-11-26 02:50:48 +08:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-17 13:59:45 +01:00
2024-02-17 13:59:45 +01:00
2025-05-12 21:04:38 +00:00
2025-05-12 21:04:38 +00:00
2024-02-16 20:02:50 +00:00
2024-04-24 08:05:29 +00:00
2024-11-22 11:12:15 -08:00
2025-02-10 20:21:39 +00:00
2024-02-16 20:02:50 +00:00
2024-11-26 02:50:48 +08:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-11-26 02:50:48 +08:00
2024-11-26 02:50:48 +08:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-09-13 14:10:56 +03:00
2024-09-13 14:10:56 +03:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-09-13 14:10:56 +03:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2025-04-18 14:21:14 +02:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2025-02-24 18:31:50 +00:00
2025-04-06 21:55:06 +00:00
2024-11-28 14:32:45 -08:00
2024-10-24 04:33:14 +08:00
2025-04-06 21:55:06 +00:00
2025-02-24 18:31:50 +00:00
2025-02-24 18:31:50 +00:00
2025-04-06 21:55:06 +00:00
2025-04-08 23:06:31 +03:00
2025-01-08 16:02:44 +00:00
2024-11-22 11:12:15 -08:00
2025-01-08 15:58:10 +00:00
2025-04-06 21:55:06 +00:00
2024-02-21 10:35:54 +11:00
2024-02-21 10:35:54 +11:00
2024-02-16 20:02:50 +00:00
2024-11-26 02:50:48 +08:00
2025-04-04 05:18:48 +02:00
2025-04-04 05:18:48 +02:00
2024-03-23 12:38:50 +01:00
2024-02-16 20:02:50 +00:00
2024-02-08 17:33:04 +00:00
2023-01-11 09:32:08 +00:00
2024-04-10 20:36:14 +00:00
2024-09-13 14:10:56 +03:00
2024-09-13 14:10:56 +03:00
2024-12-23 20:25:41 +00:00
2025-04-06 21:55:06 +00:00
2025-01-08 15:58:10 +00:00
2025-01-08 15:58:10 +00:00
2024-11-28 14:32:45 -08:00
2024-11-28 14:32:45 -08:00
2024-11-22 11:12:15 -08:00
2025-01-23 20:51:29 +08:00
2024-11-26 02:50:48 +08:00