(&mut self, msg: String)
| 42 | |
| 43 | impl ValidationReport { |
| 44 | fn warn(&mut self, msg: String) { |
| 45 | self.warnings += 1; |
| 46 | self.messages |
| 47 | .push(format!("{COLOR_YELLOW}[WARN]{COLOR_RESET} {msg}")); |
| 48 | } |
| 49 | |
| 50 | fn error(&mut self, msg: String) { |
| 51 | self.errors += 1; |
no test coverage detected