]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_data_structures/src/stack.rs
Rollup merge of #105005 - estebank:where-clause-lts, r=compiler-errors
[rust.git] / compiler / rustc_data_structures / src / stack.rs
index a4964b7aa0cc8c95f72f9f90807beb89da952d98..3bdd67512321b224fafecbe86f899c3c7bde3335 100644 (file)
@@ -12,6 +12,7 @@
 /// from this.
 ///
 /// Should not be sprinkled around carelessly, as it causes a little bit of overhead.
+#[inline]
 pub fn ensure_sufficient_stack<R>(f: impl FnOnce() -> R) -> R {
     stacker::maybe_grow(RED_ZONE, STACK_PER_RECURSION, f)
 }