mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
Use debug formatter on valgrind error
This commit is contained in:
parent
ac4dc52335
commit
c78abeaa54
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ pub struct ValgrindErrorXWhat {
|
|||
pub fn extract_valgrind_errors(xml: &str) -> Vec<ValgrindError> {
|
||||
let parsed_xml: ValgrindOutput =
|
||||
from_str(xml).unwrap_or_else(|err|
|
||||
panic!("failed to parse the `valgrind` xml output. Error was:\n\n{:?}\n\nRaw valgrind output was:\n\n{}", err, xml));
|
||||
panic!("failed to parse the `valgrind` xml output. Error was:\n\n{:?}\n\nRaw valgrind output was:\n\n{:?}", err, xml));
|
||||
parsed_xml
|
||||
.fields
|
||||
.iter()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue