Revert "Mark Location::caller() as #[inline]"
This reverts commit 6d0b61e2f5
.
This commit is contained in:
parent
b6ab1fae73
commit
6a7ff98a99
1 changed files with 0 additions and 1 deletions
|
@ -83,7 +83,6 @@ impl<'a> Location<'a> {
|
||||||
#[stable(feature = "track_caller", since = "1.46.0")]
|
#[stable(feature = "track_caller", since = "1.46.0")]
|
||||||
#[rustc_const_unstable(feature = "const_caller_location", issue = "76156")]
|
#[rustc_const_unstable(feature = "const_caller_location", issue = "76156")]
|
||||||
#[track_caller]
|
#[track_caller]
|
||||||
#[inline]
|
|
||||||
pub const fn caller() -> &'static Location<'static> {
|
pub const fn caller() -> &'static Location<'static> {
|
||||||
crate::intrinsics::caller_location()
|
crate::intrinsics::caller_location()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue