Function rustc_hir_analysis::check::get_owner_return_paths

source ·
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.