From ff86fa50fbb71073ec828e82fbfa431a3bdac2b1 Mon Sep 17 00:00:00 2001 From: Giang Dao Date: Fri, 20 Sep 2024 23:30:31 +0800 Subject: no_inline for index vec --- compiler/rustc_index/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/rustc_index/src/lib.rs b/compiler/rustc_index/src/lib.rs index 52f354b8eca..cae55230b06 100644 --- a/compiler/rustc_index/src/lib.rs +++ b/compiler/rustc_index/src/lib.rs @@ -17,6 +17,7 @@ mod vec; pub use idx::Idx; pub use rustc_index_macros::newtype_index; pub use slice::IndexSlice; +#[doc(no_inline)] pub use vec::IndexVec; /// Type size assertion. The first argument is a type and the second argument is its expected size. -- cgit 1.4.1-3-g733a5