Skip to main content

parse_outside_signature

Function parse_outside_signature 

Source
fn parse_outside_signature<'tcx>(
    tcx: TyCtxt<'tcx>,
    def_id: DefId,
) -> (Vec<String>, Vec<Ty<'tcx>>)
Expand description

Parse argument names and types from an external function’s type signature.

Read parameter names from compiler metadata, falling back to numeric indices ("0", "1", …) when names are unavailable.