pub fn first_errors<'a>(
lines: impl IntoIterator<Item = &'a str>,
count: usize,
) -> Vec<&'a str>Expand description
At most count lines of a build’s output from the first one that
starts with error, as cargo writes a compiler error; none when no
line does.