Remove TODO to check for orphan impls (#7562)

Orphan impls are found at the end of checking the file, in
`ValidateImplsInFile()`.
This commit is contained in:
Dana Jansens
2026-07-24 19:11:21 +00:00
committed by GitHub
parent 3cb143e878
commit 48a03e6a1c
-2
View File
@@ -223,8 +223,6 @@ static auto BuildImplDecl(Context& context, Parse::AnyImplDeclId node_id,
auto name_context = context.decl_name_stack().FinishImplName();
CARBON_CHECK(name_context.state == DeclNameStack::NameContext::State::Empty);
// TODO: Check for an orphan `impl`.
// Add the impl declaration.
auto impl_decl_id =
AddPlaceholderInst(context, node_id,