about summary refs log tree commit diff
path: root/tests/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-01-05 20:39:52 +0100
committerGitHub <noreply@github.com>2024-01-05 20:39:52 +0100
commit84c4b5255cbe37098a4b4dfa3a5cf12d67ac31f4 (patch)
tree8f3c1d3caac841ed091f758ab8645e6711c92c95 /tests/debuginfo/enum-thinlto.rs
parentb418117277c76257fef1037b0dfd3b6b9f87fe9a (diff)
parentf73e37d00ce29fbf81f62103ce06d2d3787c3842 (diff)
downloadrust-84c4b5255cbe37098a4b4dfa3a5cf12d67ac31f4.tar.gz
rust-84c4b5255cbe37098a4b4dfa3a5cf12d67ac31f4.zip
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
Diffstat (limited to 'tests/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions