fn matches_for_line(
    matches: &[MatchedPos],
    line_num: LineNumber
) -> Vec<&MatchedPos>