Cleanup
This commit is contained in:
parent
876192e8cd
commit
e76476afe4
11 changed files with 35 additions and 45 deletions
|
@ -345,7 +345,7 @@ impl<'a, 'b, 'tcx> FulfillProcessor<'a, 'b, 'tcx> {
|
|||
|
||||
let infcx = self.selcx.infcx();
|
||||
|
||||
let binder = obligation.predicate.kind();
|
||||
let binder = obligation.predicate.bound_atom();
|
||||
if binder.skip_binder().has_escaping_bound_vars() {
|
||||
match binder.skip_binder() {
|
||||
// Evaluation will discard candidates using the leak check.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue