(
&mut self,
error_node: &'static PatternNode,
actual: String,
expected: Option<String>,
)
| 258 | } |
| 259 | |
| 260 | pub fn push( |
| 261 | &mut self, |
| 262 | error_node: &'static PatternNode, |
| 263 | actual: String, |
| 264 | expected: Option<String>, |
| 265 | ) { |
| 266 | self.errors.push(ErrorContext { |
| 267 | actual_value: actual, |
| 268 | expected_value: expected, |
| 269 | error_node, |
| 270 | }); |
| 271 | } |
| 272 | } |
| 273 | |
| 274 | /// Build a human-readable annotation label for a failed assertion. |
no outgoing calls