Fix compiletest JSON error message
This commit is contained in:
parent
3c3a7bad49
commit
6a24abbbc5
@ -82,7 +82,7 @@ pub fn extract_rendered(output: &str, proc_res: &ProcRes) -> String {
|
|||||||
Err(error) => {
|
Err(error) => {
|
||||||
proc_res.fatal(Some(&format!(
|
proc_res.fatal(Some(&format!(
|
||||||
"failed to decode compiler output as json: \
|
"failed to decode compiler output as json: \
|
||||||
`{}`\noutput: {}\nline: {}",
|
`{}`\nline: {}\noutput: {}",
|
||||||
error, line, output
|
error, line, output
|
||||||
)));
|
)));
|
||||||
}
|
}
|
||||||
@ -114,7 +114,7 @@ fn parse_line(file_name: &str, line: &str, output: &str, proc_res: &ProcRes) ->
|
|||||||
Err(error) => {
|
Err(error) => {
|
||||||
proc_res.fatal(Some(&format!(
|
proc_res.fatal(Some(&format!(
|
||||||
"failed to decode compiler output as json: \
|
"failed to decode compiler output as json: \
|
||||||
`{}`\noutput: {}\nline: {}",
|
`{}`\nline: {}\noutput: {}",
|
||||||
error, line, output
|
error, line, output
|
||||||
)));
|
)));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user