mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user