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-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2024-01-05 20:39:52 +01:00
2023-10-30 00:15:49 +00:00
2023-10-30 00:15:49 +00:00
2023-10-30 00:15:49 +00:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-10-11 12:49:57 +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-09-07 11:07:33 +08:00
2023-11-24 19:15:52 +01:00
2023-10-15 19:20:06 +08:00
2023-11-24 19:15:52 +01:00
2023-12-29 01:13:54 +08:00
2023-12-03 12:25:46 +01:00
2023-11-29 03:58:29 +01:00
2024-01-05 09:30:27 +00:00
2024-01-05 09:30:27 +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-05 01:04:41 +00:00
2023-11-27 21:38:19 +09:00
2023-11-27 21:38:19 +09:00
2023-11-27 21:38:19 +09: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-17 00:55:55 +00:00
2023-11-17 00:55:55 +00:00
2023-07-17 22:06:32 +00:00
2023-07-17 22:06:32 +00:00
2023-07-17 22:06:32 +00:00
2023-07-28 11:20:11 +00:00
2023-11-24 19:15:52 +01:00
2023-07-17 22:06:32 +00:00
2023-11-24 19:15:52 +01:00