Uplift fast rejection to new solver
This commit is contained in:
parent
d1b7355d3d
commit
53db64168f
13 changed files with 419 additions and 402 deletions
|
@ -571,7 +571,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
|
|||
return;
|
||||
}
|
||||
|
||||
let drcx = DeepRejectCtxt { treat_obligation_params: TreatParams::ForLookup };
|
||||
let drcx = DeepRejectCtxt::new(self.tcx(), TreatParams::ForLookup);
|
||||
let obligation_args = obligation.predicate.skip_binder().trait_ref.args;
|
||||
self.tcx().for_each_relevant_impl(
|
||||
obligation.predicate.def_id(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue