Skip to content

Commit 73dc675

Browse files
committed
Auto merge of rust-lang#76157 - ArekPiekarz:const_caller_location_tracking_issue, r=joshtriplett
Update tracking issue for const_caller_location Update the tracking issue to rust-lang#76156, as suggested in rust-lang#76105.
2 parents 5d74e88 + 8142457 commit 73dc675

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
@@ -225,7 +225,7 @@ impl<'a> Location<'a> {
225225
/// assert_ne!(this_location.column(), another_location.column());
226226
/// ```
227227
#[stable(feature = "track_caller", since = "1.46.0")]
228-
#[rustc_const_unstable(feature = "const_caller_location", issue = "47809")]
228+
#[rustc_const_unstable(feature = "const_caller_location", issue = "76156")]
229229
#[track_caller]
230230
pub const fn caller() -> &'static Location<'static> {
231231
crate::intrinsics::caller_location()

0 commit comments

Comments
 (0)