Add comment to FindAssociatedImportIRs (#5840)

This had come up during the summit, figured a brief comment may help
clarify in the future.
This commit is contained in:
Jon Ross-Perkins
2025-07-23 16:55:13 +00:00
committed by GitHub
parent fce98b7331
commit 192c3f1939
+2
View File
@@ -28,6 +28,8 @@
namespace Carbon::Check {
// Returns IRs which are allowed to define an `impl` involving the arguments.
// This is limited by the orphan rule.
static auto FindAssociatedImportIRs(Context& context,
SemIR::ConstantId query_self_const_id,
SemIR::ConstantId query_facet_type_const_id)