Prints: ; error: [ERROR BODY]
(w: &mut dyn Write, err: VerifierError)
| 206 | /// Prints: |
| 207 | /// ; error: [ERROR BODY] |
| 208 | fn print_error(w: &mut dyn Write, err: VerifierError) -> fmt::Result { |
| 209 | writeln!(w, "; error: {}", err.to_string())?; |
| 210 | Ok(()) |
| 211 | } |
| 212 | |
| 213 | /// Pretty-print a Cranelift error. |
| 214 | pub fn pretty_error(func: &ir::Function, err: CodegenError) -> String { |
no test coverage detected