Add deeply_normalize_for_diagnostics, use it in coherence

This commit is contained in:
Michael Goulet
2023-11-27 03:20:45 +00:00
parent 8a7b2035f8
commit 334577f091
6 changed files with 80 additions and 4 deletions

View File

@@ -41,7 +41,9 @@ mod trait_goals;
pub use eval_ctxt::{EvalCtxt, GenerateProofTree, InferCtxtEvalExt, InferCtxtSelectExt};
pub use fulfill::FulfillmentCtxt;
pub(crate) use normalize::{deeply_normalize, deeply_normalize_with_skipped_universes};
pub(crate) use normalize::{
deeply_normalize, deeply_normalize_for_diagnostics, deeply_normalize_with_skipped_universes,
};
#[derive(Debug, Clone, Copy)]
enum SolverMode {