suggestion_signature in rustc_hir_analysis::check - Rust
Description: 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.

Skip to main content

## suggestion_signature

# Function suggestion_signature

Source

    fn suggestion_signature<'tcx>(
        tcx: TyCtxt<'tcx>,
        assoc: AssocItem,
        impl_trait_ref: TraitRef<'tcx>,
    ) -> String

Expand description

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.