(mut self, risk: impl Into<String>)
| 84 | } |
| 85 | |
| 86 | pub fn with_residual_risk(mut self, risk: impl Into<String>) -> Self { |
| 87 | self.residual_risk = Some(risk.into()); |
| 88 | self |
| 89 | } |
| 90 | |
| 91 | pub fn from_program_hint(subject: &str, index: usize, hint: &ProgramVerificationHint) -> Self { |
| 92 | let id = format!("program:{subject}:{}:{index}", hint.kind); |
no test coverage detected