(&self, _ctx: &ColorContext, file: &str, src: &str, span: Span, row: &ColorData, color: bool)
| 409 | } |
| 410 | |
| 411 | fn render_text(&self, _ctx: &ColorContext, file: &str, src: &str, span: Span, row: &ColorData, color: bool) { |
| 412 | let lc = if file != "<content>" && file != "-" { |
| 413 | let (line, col) = span.line_and_column(src); |
| 414 | Some((file, line, col)) |
| 415 | } else { |
| 416 | None |
| 417 | }; |
| 418 | let wcag = self.wcag || self.all; |
| 419 | let named = self.named || self.all; |
| 420 | print_color_info(row.color, color, self.all, wcag, named, lc); |
| 421 | println!(); |
| 422 | } |
| 423 | } |
nothing calls this directly
no test coverage detected