From 6a7ff98a99b9bfc4f3c47da55c3f5d4e8a59f2a3 Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Wed, 6 Apr 2022 18:45:11 +0200 Subject: [PATCH] Revert "Mark Location::caller() as #[inline]" This reverts commit 6d0b61e2f598c1d1102ea9b6f22c4d0e71e5f967. --- library/core/src/panic/location.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/library/core/src/panic/location.rs b/library/core/src/panic/location.rs index a018ad9eab345..714e9b73c78a6 100644 --- a/library/core/src/panic/location.rs +++ b/library/core/src/panic/location.rs @@ -83,7 +83,6 @@ impl<'a> Location<'a> { #[stable(feature = "track_caller", since = "1.46.0")] #[rustc_const_unstable(feature = "const_caller_location", issue = "76156")] #[track_caller] - #[inline] pub const fn caller() -> &'static Location<'static> { crate::intrinsics::caller_location() }