Move some solver stuff to middle

This commit is contained in:
Michael Goulet
2023-02-15 02:08:05 +00:00
parent ff4b772f80
commit 67698aa6ad
10 changed files with 118 additions and 103 deletions

View File

@@ -2,11 +2,11 @@ mod cache;
mod overflow;
use self::cache::ProvisionalEntry;
use super::{CanonicalGoal, Certainty, MaybeCause, QueryResult};
pub(super) use crate::solve::search_graph::overflow::OverflowHandler;
use cache::ProvisionalCache;
use overflow::OverflowData;
use rustc_index::vec::IndexVec;
use rustc_middle::traits::solve::{CanonicalGoal, Certainty, MaybeCause, QueryResult};
use rustc_middle::ty::TyCtxt;
use std::{collections::hash_map::Entry, mem};