about summary refs log tree commit diff
path: root/src/libcore/panic.rs
diff options
context:
space:
mode:
authorBastian Kauschke <bastian_kauschke@hotmail.de>2020-04-29 15:49:48 +0200
committerBastian Kauschke <bastian_kauschke@hotmail.de>2020-04-29 15:50:21 +0200
commit827d6f6c3d4ea2b9c7dd64b76c05c2ca204f6b76 (patch)
treec1d25e341aeb9a57b118df6149964ba90e161763 /src/libcore/panic.rs
parentd9312a8db30b9eb345baf7ebaba6d92061d49096 (diff)
document stable counterparts of intrinsics
Diffstat (limited to 'src/libcore/panic.rs')
-rw-r--r--src/libcore/panic.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcore/panic.rs b/src/libcore/panic.rs
index 575f51d0a7d..1ffd493d813 100644
--- a/src/libcore/panic.rs
+++ b/src/libcore/panic.rs
@@ -228,6 +228,8 @@ impl<'a> Location<'a> {
     /// assert_ne!(this_location.line(), another_location.line());
     /// assert_ne!(this_location.column(), another_location.column());
     /// ```
+    // FIXME: When stabilizing this method, please also update the documentation
+    // of `intrinsics::caller_location`.
     #[unstable(
         feature = "track_caller",
         reason = "uses #[track_caller] which is not yet stable",