From 814245779c7e5f3cda80c0befb841bbf8700ca6f Mon Sep 17 00:00:00 2001 From: Arkadiusz Piekarz Date: Mon, 31 Aug 2020 14:38:15 +0200 Subject: [PATCH] Update tracking issue for const_caller_location --- library/core/src/intrinsics.rs | 2 +- library/core/src/panic.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/library/core/src/intrinsics.rs b/library/core/src/intrinsics.rs index 25951e2f582..dd9af2d07e7 100644 --- a/library/core/src/intrinsics.rs +++ b/library/core/src/intrinsics.rs @@ -831,7 +831,7 @@ extern "rust-intrinsic" { /// Gets a reference to a static `Location` indicating where it was called. /// /// Consider using [`crate::panic::Location::caller`] instead. - #[rustc_const_unstable(feature = "const_caller_location", issue = "47809")] + #[rustc_const_unstable(feature = "const_caller_location", issue = "76156")] pub fn caller_location() -> &'static crate::panic::Location<'static>; /// Moves a value out of scope without running drop glue. diff --git a/library/core/src/panic.rs b/library/core/src/panic.rs index 316ecafe572..4a70dec3c6c 100644 --- a/library/core/src/panic.rs +++ b/library/core/src/panic.rs @@ -232,7 +232,7 @@ impl<'a> Location<'a> { /// assert_ne!(this_location.column(), another_location.column()); /// ``` #[stable(feature = "track_caller", since = "1.46.0")] - #[rustc_const_unstable(feature = "const_caller_location", issue = "47809")] + #[rustc_const_unstable(feature = "const_caller_location", issue = "76156")] #[track_caller] pub const fn caller() -> &'static Location<'static> { crate::intrinsics::caller_location()