rustc_hir_analysis::check::check

Function check_opaque_for_cycles

Source
pub(super) fn check_opaque_for_cycles<'tcx>(
    tcx: TyCtxt<'tcx>,
    def_id: LocalDefId,
) -> Result<(), ErrorGuaranteed>
Expand description

Checks that an opaque type does not contain cycles.