diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-03-18 10:09:30 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-18 10:09:30 +0100 |
| commit | 6e48c984bd75efe0d5ba5f15bcd26567d2879bae (patch) | |
| tree | 19447cff9cc75d52fc3d5d4504fc5d182c4aeaa3 /compiler/rustc_codegen_llvm | |
| parent | bf98654e6c222308a5d88700a14988d18bd6eb0d (diff) | |
| parent | 8bb8d74182c08df2c01eefaf856fb63af7c301c5 (diff) | |
| download | rust-6e48c984bd75efe0d5ba5f15bcd26567d2879bae.tar.gz rust-6e48c984bd75efe0d5ba5f15bcd26567d2879bae.zip | |
Rollup merge of #138635 - Zalathar:immediate-subpat, r=compiler-errors
Extract `for_each_immediate_subpat` from THIR pattern visitors This is extracted from some larger changes I've been working on, trying to introduce a “THIR pattern id” to refer to THIR pattern nodes without a direct reference. The future of those changes is somewhat uncertain, due to some [proposed changes involving upvar inference](https://rust-lang.zulipchat.com/#narrow/channel/131828-t-compiler/topic/upvar.20inference.20on.20THIR.3F). So I'm taking my preparatory changes that make sense on their own, and extracting them into one or more independent PRs. --- This particular patch takes two different functions that were both matching on `PatKind` to traverse subpatterns, and extracts the core match into a single helper function.
Diffstat (limited to 'compiler/rustc_codegen_llvm')
0 files changed, 0 insertions, 0 deletions
