pub(crate) fn create_cycle_error<'tcx>( tcx: TyCtxt<'tcx>, _: &QueryCycle<'tcx>, nested: bool, ) -> Diag<'tcx>