about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2025-08-03 21:56:59 +0200
committerGitHub <noreply@github.com>2025-08-03 21:56:59 +0200
commit5b751d75b4b39b952571d1bebdc161f76c7a6ed7 (patch)
tree89e5cd2d512085c3cf1f7585bc5a8ee7e9969e84 /compiler/rustc_codegen_llvm/src
parent7100b2deecb7c41d13b8f2b1d2093eaf9eff0a42 (diff)
parentd3e597a1322575dd15ede6a032402488fdc6161d (diff)
downloadrust-5b751d75b4b39b952571d1bebdc161f76c7a6ed7.tar.gz
rust-5b751d75b4b39b952571d1bebdc161f76c7a6ed7.zip
Rollup merge of #144822 - Zalathar:hash-owner-nodes, r=compiler-errors
Return a struct with named fields from `hash_owner_nodes`

While looking through this code for other reasons, I noticed a nice opportunity to return a struct with named fields instead of a tuple. The first patch also introduces an early-return to flatten the rest of `hash_owner_nodes`.

There are further changes that could potentially be made here (renaming things, `Option<Hashes>` instead of optional fields), but I'm not deeply familiar with this code so I didn't want to disturb the calling code too much.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions