Matthias Krüger
958417fba1
Rollup merge of #119554 - matthewjasper:remove-guard-distinction, r=compiler-errors
...
Fix scoping for let chains in match guards
If let guards were previously represented as a different type of guard in HIR and THIR. This meant that let chains in match guards were not handled correctly because they were treated exactly like normal guards.
- Remove `hir::Guard` and `thir::Guard`.
- Make the scoping different between normal guards and if let guards also check for let chains.
closes #118593
2024-01-05 20:39:52 +01:00
..
2023-08-28 14:50:32 +08:00
2023-12-04 11:56:21 +01:00
2023-11-02 03:19:19 +01:00
2023-11-02 03:19:19 +01:00
2023-11-24 19:15:52 +01:00
2023-10-28 17:02:18 +02:00
2023-10-28 17:02:18 +02:00
2024-01-05 10:56:59 +00:00
2023-11-03 18:26:16 +01:00
2023-12-09 00:39:59 +01:00
2023-12-09 00:39:59 +01:00
2023-12-09 00:39:59 +01:00
2023-12-09 00:39:59 +01:00
2023-12-09 00:39:59 +01:00
2023-12-09 00:39:59 +01:00
2023-12-09 00:44:49 +01:00
2023-12-09 00:44:49 +01:00
2023-12-09 00:44:49 +01:00
2023-10-01 00:00:37 +02:00
2023-10-01 00:00:37 +02:00
2023-11-24 19:15:52 +01:00
2023-12-23 14:59:12 +01:00
2023-12-23 14:59:12 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-22 03:25:15 +01:00
2023-11-26 00:14:14 +00:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-09-03 19:55:11 +08:00
2023-11-24 19:15:52 +01:00
2023-11-02 03:19:19 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2024-01-05 10:00:59 +00:00
2024-01-05 10:00:59 +00:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-10-27 19:56:12 +02:00
2023-12-04 11:56:21 +01:00
2023-09-03 19:55:11 +08:00
2023-11-24 19:15:52 +01:00
2023-12-23 13:11:38 +01:00
2023-11-22 03:25:15 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-08-28 14:50:32 +08:00
2023-11-24 19:15:52 +01:00
2023-11-03 18:26:16 +01:00
2023-11-03 18:26:16 +01:00
2023-11-03 18:26:16 +01:00
2023-11-03 18:26:16 +01:00
2023-10-27 19:56:12 +02:00
2023-11-03 18:26:16 +01:00
2023-10-27 19:56:12 +02:00
2023-10-27 19:56:12 +02:00
2023-10-27 19:56:12 +02:00
2023-11-24 19:15:52 +01:00
2023-12-09 00:44:49 +01:00
2023-12-09 00:44:49 +01:00
2023-11-22 03:25:15 +01:00
2023-11-22 03:25:15 +01:00
2023-11-03 18:26:16 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00