rustc_resolve::check_unused

Function calc_unused_spans

Source
fn calc_unused_spans(
    unused_import: &UnusedImport,
    use_tree: &UseTree,
    use_tree_id: NodeId,
) -> UnusedSpanResult