pub fn specialize(
output: &mut SemaOutput,
sema: &mut Sema<'_>,
infer_ctx: &InferenceContext,
interner: &ThreadedRodeo,
) -> CompileResult<()>Expand description
Perform the specialization pass on the sema output.
This collects all CallGeneric instructions, creates specialized functions,
and rewrites calls to point to the specialized versions.