diff options
| author | Michael Goulet <michael@errs.io> | 2025-03-26 00:15:24 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-03-26 00:15:34 +0000 |
| commit | 4b22ac5296a7a40aebfc997eec122fbfe50164da (patch) | |
| tree | 8c9acb3026a002ce562b918cdc5b381bb9904d9d /compiler/rustc_ast_lowering/src | |
| parent | 48994b1674b3212d27b5e83841c0966bc2b4be43 (diff) | |
Ensure define_opaque is accounted for in HIR hash
Diffstat (limited to 'compiler/rustc_ast_lowering/src')
| -rw-r--r-- | compiler/rustc_ast_lowering/src/lib.rs | 2 |
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 6c380d77b49..a946f956225 100644 --- a/compiler/rustc_ast_lowering/src/lib.rs +++ b/compiler/rustc_ast_lowering/src/lib.rs @@ -625,7 +625,7 @@ impl<'a, 'hir> LoweringContext<'a, 'hir> { // Don't hash unless necessary, because it's expensive. let (opt_hash_including_bodies, attrs_hash) = - self.tcx.hash_owner_nodes(node, &bodies, &attrs); + self.tcx.hash_owner_nodes(node, &bodies, &attrs, define_opaque); let num_nodes = self.item_local_id_counter.as_usize(); let (nodes, parenting) = index::index_hir(self.tcx, node, &bodies, num_nodes); let nodes = hir::OwnerNodes { opt_hash_including_bodies, nodes, bodies }; |
