diff --git a/compiler/rustc_data_structures/src/small_c_str.rs b/compiler/rustc_data_structures/src/small_c_str.rs index cd9025245628..3a8ab8ff9911 100644 --- a/compiler/rustc_data_structures/src/small_c_str.rs +++ b/compiler/rustc_data_structures/src/small_c_str.rs @@ -62,6 +62,7 @@ impl SmallCStr { impl Deref for SmallCStr { type Target = ffi::CStr; + #[inline] fn deref(&self) -> &ffi::CStr { self.as_c_str() }