[−][src]Function rustc_typeck::check::check::check_opaque_for_inheriting_lifetimes

pub(in check) fn check_opaque_for_inheriting_lifetimes<'tcx>(
    tcx: TyCtxt<'tcx>,
    def_id: LocalDefId,
    span: Span
)

Checks that an opaque type does not use Self or T::Foo projections that would result in "inheriting lifetimes".