Skip to content

Commit b76b2c2

Browse files
committed
inline(always) on check_recursion_limit
1 parent cdeba02 commit b76b2c2

File tree

1 file changed

+1
-0
lines changed
  • compiler/rustc_trait_selection/src/traits/select

1 file changed

+1
-0
lines changed

compiler/rustc_trait_selection/src/traits/select/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1060,6 +1060,7 @@ impl<'cx, 'tcx> SelectionContext<'cx, 'tcx> {
10601060
///
10611061
/// The weird return type of this function allows it to be used with the `try` (`?`)
10621062
/// operator within certain functions.
1063+
#[inline(always)]
10631064
fn check_recursion_limit<T: Display + TypeFoldable<'tcx>, V: Display + TypeFoldable<'tcx>>(
10641065
&self,
10651066
obligation: &Obligation<'tcx, T>,

0 commit comments

Comments
 (0)