rustdoc::clean

Function clean_use_statement

source
fn clean_use_statement<'tcx>(
    import: &Item<'tcx>,
    name: Symbol,
    path: &UsePath<'tcx>,
    kind: UseKind,
    cx: &mut DocContext<'tcx>,
    inlined_names: &mut FxHashSet<(ItemType, Symbol)>,
) -> Vec<Item>