Function chalk_solve::clauses::builtin_traits::add_builtin_program_clauses
source ยท pub fn add_builtin_program_clauses<I: Interner>(
db: &dyn RustIrDatabase<I>,
builder: &mut ClauseBuilder<'_, I>,
well_known: WellKnownTrait,
trait_ref: TraitRef<I>,
binders: &CanonicalVarKinds<I>,
) -> Result<(), Floundered>
Expand description
For well known traits we have special hard-coded impls, either as an optimization or to enforce special rules for correctness.