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>