Skip to main content

signature_return_has_lifetime

Function signature_return_has_lifetime 

Source
pub(super) fn signature_return_has_lifetime(
    tcx: TyCtxt<'_>,
    def_id: DefId,
) -> Option<(String, String)>
Expand description

Check if the source-level function signature has a named lifetime in return type.