about summary refs log tree commit diff
path: root/src/libcore/panic.rs
diff options
context:
space:
mode:
authorDylan DPC <dylan.dpc@gmail.com>2020-04-30 14:07:57 +0200
committerGitHub <noreply@github.com>2020-04-30 14:07:57 +0200
commite2333a974a569a2db40d23876eda060037a3e942 (patch)
tree8bb183852ace62a871e0112946173de9b96bcf8f /src/libcore/panic.rs
parent71bf986f4b2949a1eaf7db339e6995065b3d1988 (diff)
parent827d6f6c3d4ea2b9c7dd64b76c05c2ca204f6b76 (diff)
downloadrust-e2333a974a569a2db40d23876eda060037a3e942.tar.gz
rust-e2333a974a569a2db40d23876eda060037a3e942.zip
Rollup merge of #71672 - lcnr:instrinsics-wow, r=Dylan-DPC
document missing stable counterparts of intrinsics

Notes the stable counterpart of each intrinsic in case one exists.

Implements #34338

r? @Dylan-DPC
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",