inline(always) on check_recursion_limit
This commit is contained in:
parent
cdeba02ff7
commit
b76b2c263d
1 changed files with 1 additions and 0 deletions
|
@ -1060,6 +1060,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
|
|||
///
|
||||
/// The weird return type of this function allows it to be used with the `try` (`?`)
|
||||
/// operator within certain functions.
|
||||
#[inline(always)]
|
||||
fn check_recursion_limit<T: Display + TypeFoldable<'tcx>, V: Display + TypeFoldable<'tcx>>(
|
||||
&self,
|
||||
obligation: &Obligation<'tcx, T>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue