pub fn emit_reports(json: bool)
Expand description
Print all the stored reports to the error output.
Set json
if they should be printed as a JSON array. Otherwise they are printed in the
default output format.
Note that the default output format is not stable across versions. It is meant for human readability and occasionally gets changed to improve that.