Inline Predicate::has_vars_bound_at_or_above
This commit is contained in:
parent
bb73f171e5
commit
0e6251dcde
1 changed files with 1 additions and 0 deletions
|
@ -1122,6 +1122,7 @@ impl<'tcx> TypeVisitable<'tcx> for ty::Predicate<'tcx> {
|
|||
visitor.visit_predicate(*self)
|
||||
}
|
||||
|
||||
#[inline]
|
||||
fn has_vars_bound_at_or_above(&self, binder: ty::DebruijnIndex) -> bool {
|
||||
self.outer_exclusive_binder() > binder
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue