Skip to main content

parse_return_field_place

Function parse_return_field_place 

Source
fn parse_return_field_place<'tcx>(
    tcx: TyCtxt<'tcx>,
    def_id: DefId,
    expr: &Expr,
) -> Option<ContractPlace>
Expand description

Resolve a place rooted at the function’s return value with field projections (return.0, return.pointer). parse_named_place only handles a bare return (no projections); this walks the field chain against the return type.