Skip to content

Commit

Permalink
it compiles
Browse files Browse the repository at this point in the history
  • Loading branch information
liamnaddell committed Jan 12, 2025
1 parent aab004e commit c4702ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gcc/rust/typecheck/rust-hir-type-check-path.cc
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ TypeCheckExpr::visit (HIR::PathInExpression &expr)
context->insert_variant_definition (expr.get_mappings ().get_hirid (),
vde->get_id());
bl = SubstMapper::InferSubst (bl, expr.get_locus ());
resolver->insert_resolved_misc (expr.get_mappings ().get_nodeid (),
expr.get_mappings ().get_nodeid ());
infered = bl;
assert(bl != nullptr);
return;
Expand Down

0 comments on commit c4702ba

Please sign in to comment.