Skip to content

Commit

Permalink
Update toolchain/check/impl_lookup.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: josh11b <15258583+josh11b@users.noreply.github.com>
  • Loading branch information
danakj and josh11b authored Mar 3, 2025
1 parent e0224bf commit 6030c64
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions toolchain/check/impl_lookup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,12 +214,6 @@ static auto GetWitnessIdForImpl(
return SemIR::InstId::None;
}

// impl C as A where .Self impls I {}

// ({} as C) as (C as (A & B))
// ^ FacetValue witnesses for A and B
// ^ CompleteFacetType has 2 required_interfaces

// When the impl's interface_id matches, but the interface is generic, the
// impl may or may not match based on restrictions in the generic parameters
// of the impl.
Expand Down

0 comments on commit 6030c64

Please sign in to comment.