Skip to content

Commit 6a7ff98

Browse files
committed
Revert "Mark Location::caller() as #[inline]"
This reverts commit 6d0b61e.
1 parent b6ab1fa commit 6a7ff98

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

library/core/src/panic/location.rs

-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ impl<'a> Location<'a> {
8383
#[stable(feature = "track_caller", since = "1.46.0")]
8484
#[rustc_const_unstable(feature = "const_caller_location", issue = "76156")]
8585
#[track_caller]
86-
#[inline]
8786
pub const fn caller() -> &'static Location<'static> {
8887
crate::intrinsics::caller_location()
8988
}

0 commit comments

Comments
 (0)