fn get_associated_constants<'a>(
    i: &'a Impl,
    used_links: &mut FxHashSet<String>
) -> Vec<Link<'a>>