pub(crate) fn nest_and_remove_collisions( matches: Vec<Match>, sema: &Semantics<'_, RootDatabase>, ) -> SsrMatches