about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc/example/example.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
commit958417fba1d69acc78034969e5e7401f84a51a2c (patch)
treed97d525b8ba4e3d6a1a874634b81757256b3d84c /compiler/rustc_codegen_gcc/example/example.rs
parent8309063e0a92c5602cb17da3135b8fda870360d2 (diff)
parent44bba5486eebcb6a67f92f43694e42bc074c69ab (diff)
downloadrust-958417fba1d69acc78034969e5e7401f84a51a2c.tar.gz
rust-958417fba1d69acc78034969e5e7401f84a51a2c.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 'compiler/rustc_codegen_gcc/example/example.rs')
0 files changed, 0 insertions, 0 deletions