diff --git a/toolchain/check/generic.cpp b/toolchain/check/generic.cpp index e9b20cd1a37e..3f5988959ea6 100644 --- a/toolchain/check/generic.cpp +++ b/toolchain/check/generic.cpp @@ -424,7 +424,7 @@ auto DiscardGenericDecl(Context& context) -> void { auto BuildGeneric(Context& context, SemIR::InstId decl_id) -> SemIR::GenericId { auto all_bindings = - context.scope_stack().compile_time_bindings_stack().PeekAllValues(); + context.scope_stack().compile_time_binding_stack().PeekAllValues(); if (all_bindings.empty()) { CARBON_CHECK(context.generic_region_stack().PeekEvalBlock().empty(), diff --git a/toolchain/check/scope_stack.h b/toolchain/check/scope_stack.h index 52c9cfc5e551..620c47feebc0 100644 --- a/toolchain/check/scope_stack.h +++ b/toolchain/check/scope_stack.h @@ -183,7 +183,7 @@ class ScopeStack { return destroy_id_stack_; } - auto compile_time_bindings_stack() -> ArrayStack& { + auto compile_time_binding_stack() -> ArrayStack& { return compile_time_binding_stack_; }