fn get_owner_return_paths(
tcx: TyCtxt<'_>,
def_id: LocalDefId,
) -> Option<(LocalDefId, ReturnsVisitor<'_>)>
Expand description
Given a DefId
for an opaque type in return position, find its parent item’s return
expressions.
fn get_owner_return_paths(
tcx: TyCtxt<'_>,
def_id: LocalDefId,
) -> Option<(LocalDefId, ReturnsVisitor<'_>)>
Given a DefId
for an opaque type in return position, find its parent item’s return
expressions.