fn flatten_use_trees(
    use_trees: Vec<UseTree>,
    import_granularity: ImportGranularity
) -> Vec<UseTree>