New trait solver is a property of inference context
This commit is contained in:
parent
3572d7451d
commit
e0acff796a
23 changed files with 61 additions and 42 deletions
|
@ -16,7 +16,7 @@ fn evaluate_obligation<'tcx>(
|
|||
tcx: TyCtxt<'tcx>,
|
||||
canonical_goal: CanonicalPredicateGoal<'tcx>,
|
||||
) -> Result<EvaluationResult, OverflowError> {
|
||||
assert!(!tcx.trait_solver_next());
|
||||
assert!(!tcx.next_trait_solver_globally());
|
||||
debug!("evaluate_obligation(canonical_goal={:#?})", canonical_goal);
|
||||
// HACK This bubble is required for this tests to pass:
|
||||
// impl-trait/issue99642.rs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue