emit_reports

Function emit_reports 

Source
pub fn emit_reports<O: Write + Send>(
    output: &mut O,
    json: bool,
    consolidate: bool,
    summary: bool,
) -> 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.

Returns true iff any reports were printed.