diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2022-04-06 18:45:11 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2022-04-06 18:45:11 +0200 |
| commit | 6a7ff98a99b9bfc4f3c47da55c3f5d4e8a59f2a3 (patch) | |
| tree | d29f6967f8bb3258899dfefa9517a03a17ffcb89 /library/core/src/panic | |
| parent | b6ab1fae73a14db17a59e81c532a2b8f048ac159 (diff) | |
| download | rust-6a7ff98a99b9bfc4f3c47da55c3f5d4e8a59f2a3.tar.gz rust-6a7ff98a99b9bfc4f3c47da55c3f5d4e8a59f2a3.zip | |
Revert "Mark Location::caller() as #[inline]"
This reverts commit 6d0b61e2f598c1d1102ea9b6f22c4d0e71e5f967.
Diffstat (limited to 'library/core/src/panic')
| -rw-r--r-- | library/core/src/panic/location.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/library/core/src/panic/location.rs b/library/core/src/panic/location.rs index a018ad9eab3..714e9b73c78 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() } |
