(source: &str, message: String)
| 5524 | } |
| 5525 | |
| 5526 | fn profile_file_diagnostic(source: &str, message: String) -> ProviderProfileDiagnostic { |
| 5527 | ProviderProfileDiagnostic { |
| 5528 | source: source.to_string(), |
| 5529 | profile_id: String::new(), |
| 5530 | field: "file".to_string(), |
| 5531 | message, |
| 5532 | severity: "error".to_string(), |
| 5533 | } |
| 5534 | } |
| 5535 | |
| 5536 | fn print_profile_diagnostics(diagnostics: &[ProviderProfileDiagnostic]) { |
| 5537 | if diagnostics.is_empty() { |
no outgoing calls
no test coverage detected