compiletest-rs icon indicating copy to clipboard operation
compiletest-rs copied to clipboard

Human-readable output

Open segeljakt opened this issue 3 years ago • 1 comments

By default compiletest seems to dump the output in json which is good but difficult to read. Human readable output can be added manually by including a compiler directive at the top of the file.

// compile-flags: --error-format=human
fn foo() {

}

Would it be possible to add an option to Config so that this does not need to be done for every file?

segeljakt avatar Mar 02 '21 16:03 segeljakt

Good idea! Pull requests are certainly welcome, but I cannot promise that anyone else is going to come around to adding it anytime soon.

Munksgaard avatar Mar 02 '21 21:03 Munksgaard