Skip to content

Commit 8142457

Browse files
committed
Update tracking issue for const_caller_location
1 parent 8bfe289 commit 8142457

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/core/src/intrinsics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ extern "rust-intrinsic" {
831831
/// Gets a reference to a static `Location` indicating where it was called.
832832
///
833833
/// Consider using [`crate::panic::Location::caller`] instead.
834-
#[rustc_const_unstable(feature = "const_caller_location", issue = "47809")]
834+
#[rustc_const_unstable(feature = "const_caller_location", issue = "76156")]
835835
pub fn caller_location() -> &'static crate::panic::Location<'static>;
836836

837837
/// Moves a value out of scope without running drop glue.

library/core/src/panic.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ impl<'a> Location<'a> {
232232
/// assert_ne!(this_location.column(), another_location.column());
233233
/// ```
234234
#[stable(feature = "track_caller", since = "1.46.0")]
235-
#[rustc_const_unstable(feature = "const_caller_location", issue = "47809")]
235+
#[rustc_const_unstable(feature = "const_caller_location", issue = "76156")]
236236
#[track_caller]
237237
pub const fn caller() -> &'static Location<'static> {
238238
crate::intrinsics::caller_location()

0 commit comments

Comments
 (0)