about summary refs log tree commit diff
path: root/compiler/rustc_ast_lowering/src
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2025-08-02 23:06:48 +1000
committerZalathar <Zalathar@users.noreply.github.com>2025-08-02 23:11:53 +1000
commitd3e597a1322575dd15ede6a032402488fdc6161d (patch)
tree2572134be7165934e4c94cbf1dc81b9a7883e0a8 /compiler/rustc_ast_lowering/src
parent40f587aa0d0a792b3f4e558e739c591534778eb3 (diff)
downloadrust-d3e597a1322575dd15ede6a032402488fdc6161d.tar.gz
rust-d3e597a1322575dd15ede6a032402488fdc6161d.zip
Return a struct with named fields from `hash_owner_nodes`
Diffstat (limited to 'compiler/rustc_ast_lowering/src')
-rw-r--r--compiler/rustc_ast_lowering/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_ast_lowering/src/lib.rs b/compiler/rustc_ast_lowering/src/lib.rs
index 189c82b614c..d097e3cbaa8 100644
--- a/compiler/rustc_ast_lowering/src/lib.rs
+++ b/compiler/rustc_ast_lowering/src/lib.rs
@@ -675,7 +675,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> {
         let bodies = SortedMap::from_presorted_elements(bodies);
 
         // Don't hash unless necessary, because it's expensive.
-        let (opt_hash_including_bodies, attrs_hash, delayed_lints_hash) =
+        let rustc_middle::hir::Hashes { opt_hash_including_bodies, attrs_hash, delayed_lints_hash } =
             self.tcx.hash_owner_nodes(node, &bodies, &attrs, &delayed_lints, define_opaque);
         let num_nodes = self.item_local_id_counter.as_usize();
         let (nodes, parenting) = index::index_hir(self.tcx, node, &bodies, num_nodes);