diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2024-04-28 09:28:27 -0400 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2024-05-01 21:01:51 -0400 |
| commit | bd7d328807a8bb15732ebb764e1ea3df4fbe3fd1 (patch) | |
| tree | a7e4864587a0af2a4681551cff4488402e281c3f /library/core/src/panic | |
| parent | cfb2410752d7f7108f1b140a65310ffc9f6eb6c6 (diff) | |
| download | rust-bd7d328807a8bb15732ebb764e1ea3df4fbe3fd1.tar.gz rust-bd7d328807a8bb15732ebb764e1ea3df4fbe3fd1.zip | |
Replace version placeholders for 1.79
Diffstat (limited to 'library/core/src/panic')
| -rw-r--r-- | library/core/src/panic/location.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/core/src/panic/location.rs b/library/core/src/panic/location.rs index 4ad507d8b86..eb27da1724e 100644 --- a/library/core/src/panic/location.rs +++ b/library/core/src/panic/location.rs @@ -81,7 +81,7 @@ impl<'a> Location<'a> { /// ``` #[must_use] #[stable(feature = "track_caller", since = "1.46.0")] - #[rustc_const_stable(feature = "const_caller_location", since = "CURRENT_RUSTC_VERSION")] + #[rustc_const_stable(feature = "const_caller_location", since = "1.79.0")] #[track_caller] #[inline] pub const fn caller() -> &'static Location<'static> { @@ -123,7 +123,7 @@ impl<'a> Location<'a> { /// ``` #[must_use] #[stable(feature = "panic_hooks", since = "1.10.0")] - #[rustc_const_stable(feature = "const_location_fields", since = "CURRENT_RUSTC_VERSION")] + #[rustc_const_stable(feature = "const_location_fields", since = "1.79.0")] #[inline] pub const fn file(&self) -> &str { self.file @@ -148,7 +148,7 @@ impl<'a> Location<'a> { /// ``` #[must_use] #[stable(feature = "panic_hooks", since = "1.10.0")] - #[rustc_const_stable(feature = "const_location_fields", since = "CURRENT_RUSTC_VERSION")] + #[rustc_const_stable(feature = "const_location_fields", since = "1.79.0")] #[inline] pub const fn line(&self) -> u32 { self.line @@ -173,7 +173,7 @@ impl<'a> Location<'a> { /// ``` #[must_use] #[stable(feature = "panic_col", since = "1.25.0")] - #[rustc_const_stable(feature = "const_location_fields", since = "CURRENT_RUSTC_VERSION")] + #[rustc_const_stable(feature = "const_location_fields", since = "1.79.0")] #[inline] pub const fn column(&self) -> u32 { self.col |
