Skip to content

Commit 0e6251d

Browse files
committed
Inline Predicate::has_vars_bound_at_or_above
1 parent bb73f17 commit 0e6251d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler/rustc_middle/src/ty/structural_impls.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1122,6 +1122,7 @@ impl<'tcx> TypeVisitable<'tcx> for ty::Predicate<'tcx> {
11221122
visitor.visit_predicate(*self)
11231123
}
11241124

1125+
#[inline]
11251126
fn has_vars_bound_at_or_above(&self, binder: ty::DebruijnIndex) -> bool {
11261127
self.outer_exclusive_binder() > binder
11271128
}

0 commit comments

Comments
 (0)