Skip to content

Commit

Permalink
Revert "Mark Location::caller() as #[inline]"
Browse files Browse the repository at this point in the history
This reverts commit 6d0b61e.
  • Loading branch information
bjorn3 committed Apr 6, 2022
1 parent b6ab1fa commit 6a7ff98
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion library/core/src/panic/location.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit 6a7ff98

Please sign in to comment.