1
Fork 0
This commit is contained in:
Jack Huey 2021-01-04 01:58:33 -05:00
parent 876192e8cd
commit e76476afe4
11 changed files with 35 additions and 45 deletions

View file

@ -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.