1
Fork 0

Change tracking issue from #76156 to #102911

This commit is contained in:
woppopo 2022-10-11 06:40:37 +00:00
parent f0b8167a4e
commit a53e3acca9
2 changed files with 4 additions and 3 deletions

View file

@ -123,7 +123,7 @@ impl<'a> Location<'a> {
/// ``` /// ```
#[must_use] #[must_use]
#[stable(feature = "panic_hooks", since = "1.10.0")] #[stable(feature = "panic_hooks", since = "1.10.0")]
#[rustc_const_unstable(feature = "const_caller_location", issue = "76156")] #[rustc_const_unstable(feature = "const_location_fields", issue = "102911")]
#[inline] #[inline]
pub const fn file(&self) -> &str { pub const fn file(&self) -> &str {
self.file self.file
@ -148,7 +148,7 @@ impl<'a> Location<'a> {
/// ``` /// ```
#[must_use] #[must_use]
#[stable(feature = "panic_hooks", since = "1.10.0")] #[stable(feature = "panic_hooks", since = "1.10.0")]
#[rustc_const_unstable(feature = "const_caller_location", issue = "76156")] #[rustc_const_unstable(feature = "const_location_fields", issue = "102911")]
#[inline] #[inline]
pub const fn line(&self) -> u32 { pub const fn line(&self) -> u32 {
self.line self.line
@ -173,7 +173,7 @@ impl<'a> Location<'a> {
/// ``` /// ```
#[must_use] #[must_use]
#[stable(feature = "panic_col", since = "1.25.0")] #[stable(feature = "panic_col", since = "1.25.0")]
#[rustc_const_unstable(feature = "const_caller_location", issue = "76156")] #[rustc_const_unstable(feature = "const_location_fields", issue = "102911")]
#[inline] #[inline]
pub const fn column(&self) -> u32 { pub const fn column(&self) -> u32 {
self.col self.col

View file

@ -21,6 +21,7 @@
#![feature(const_ptr_write)] #![feature(const_ptr_write)]
#![feature(const_trait_impl)] #![feature(const_trait_impl)]
#![feature(const_likely)] #![feature(const_likely)]
#![feature(const_location_fields)]
#![feature(core_intrinsics)] #![feature(core_intrinsics)]
#![feature(core_private_bignum)] #![feature(core_private_bignum)]
#![feature(core_private_diy_float)] #![feature(core_private_diy_float)]