[−][src]Function rustc_typeck::check::suggestion_signature

pub(in check) fn suggestion_signature(
    assoc: &AssocItem,
    tcx: TyCtxt<'_>
) -> String

Return placeholder code for the given associated item. Similar to ty::AssocItem::suggestion, but appropriate for use as the code snippet of a structured suggestion.