We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15a242a commit 6d0b61eCopy full SHA for 6d0b61e
library/core/src/panic/location.rs
@@ -83,6 +83,7 @@ impl<'a> Location<'a> {
83
#[stable(feature = "track_caller", since = "1.46.0")]
84
#[rustc_const_unstable(feature = "const_caller_location", issue = "76156")]
85
#[track_caller]
86
+ #[inline]
87
pub const fn caller() -> &'static Location<'static> {
88
crate::intrinsics::caller_location()
89
}
0 commit comments