pub fn annotate_source_with_target( source: &str, filename: &str, target: &str, ) -> Result<String, Vec<Diagnostic>>
Like annotate_source, but uses the specified target’s cost model.
annotate_source