pub fn decl_evaluation_failed( e: Error, name: &str, task: bool, decl_name: &str, io: Option<Io>, span: Span, ) -> Diagnostic
Creates a “input/output/declaration evaluation failed” diagnostic.