(diagnostics: &[ProviderProfileDiagnostic])
| 5561 | } |
| 5562 | |
| 5563 | fn profile_diagnostics_have_errors(diagnostics: &[ProviderProfileDiagnostic]) -> bool { |
| 5564 | diagnostics |
| 5565 | .iter() |
| 5566 | .any(|diagnostic| diagnostic.severity == "error") |
| 5567 | } |
| 5568 | |
| 5569 | fn display_provider_category(category: i32) -> &'static str { |
| 5570 | match ProviderProfileCategory::try_from(category).unwrap_or(ProviderProfileCategory::Other) { |
no outgoing calls
no test coverage detected