fn ignore_cargo_err(line: &str) -> bool {
    if line.trim().is_empty() {
        return true;
    }

    let discarded_lines = [
        "warnings emitted",
        "ignoring specified output filename because multiple outputs were \
         requested",
        "ignoring specified output filename for 'link' output because multiple \
         outputs were requested",
        "ignoring --out-dir flag due to -o flag",
        "due to multiple output types requested, the explicitly specified \
         output file name will be adapted for each output type",
        "ignoring -C extra-filename flag due to -o flag",
    ];
    for s in &discarded_lines {
        if line.contains(s) {
            return true;
        }
    }

    false
}
/// Match Cargo output lines that we don't want to be printed.
Match Cargo output lines that we don't want to be printed.
Match Cargo output lines that we don ' t want to be printed .
fn ignore_cargo_err(line: &str) -> bool {
    if line.trim().is_empty() {
        return true;
    }
    let discarded_lines = [
        "warnings emitted",
        "ignoring specified output filename because multiple outputs were \
         requested",
        "ignoring specified output filename for 'link' output because multiple \
         outputs were requested",
        "ignoring --out-dir flag due to -o flag",
        "due to multiple output types requested, the explicitly specified \
         output file name will be adapted for each output type",
        "ignoring -C extra-filename flag due to -o flag",
    ];
    for s in &discarded_lines {
        if line.contains(s) {
            return true;
        }
    }
    false
}
fn ignore_cargo_err ( line : & str ) -> bool { if line . trim ( ) . is_empty ( ) { return true ; } let discarded_lines = [ " " , " \
 " , " \
 " , " " , " \
 " , " " , ] ; for s in & discarded_lines { if line . contains ( s ) { return true ; } } false }
Match Cargo output lines that we don't want to be printed.
Match Cargo output lines that we don ' t want to be printed .
line
&str
line
&str