| 13 | #[allow(dead_code)] |
| 14 | #[derive(Debug, Serialize)] |
| 15 | pub struct ReportContent<D> { |
| 16 | pub bug_kind: String, |
| 17 | pub possibility: String, |
| 18 | pub diagnosis: D, |
| 19 | pub explanation: String, |
| 20 | } |
| 21 | |
| 22 | impl<D: std::fmt::Debug> ReportContent<D> { |
| 23 | pub fn new(bug_kind: String, possibility: String, diagnosis: D, explanation: String) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected