about summary refs log tree commit diff
path: root/src/libcore/slice/mod.rs
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2020-04-22 15:45:35 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2020-04-25 09:25:33 -0400
commit93eed402adbe9e7a532995500d50716d52eefee9 (patch)
treeef6d0177fa8dac0ed4edff1de6ee9cf6a3e6b016 /src/libcore/slice/mod.rs
parent0b958790b336738540d027d645718713849638d7 (diff)
downloadrust-93eed402adbe9e7a532995500d50716d52eefee9.tar.gz
rust-93eed402adbe9e7a532995500d50716d52eefee9.zip
Bump bootstrap compiler
Diffstat (limited to 'src/libcore/slice/mod.rs')
-rw-r--r--src/libcore/slice/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/slice/mod.rs b/src/libcore/slice/mod.rs
index dc395bcfba5..7b357bb487a 100644
--- a/src/libcore/slice/mod.rs
+++ b/src/libcore/slice/mod.rs
@@ -2831,13 +2831,13 @@ pub trait SliceIndex<T: ?Sized>: private_slice_index::Sealed {
     /// Returns a shared reference to the output at this location, panicking
     /// if out of bounds.
     #[unstable(feature = "slice_index_methods", issue = "none")]
-    #[cfg_attr(not(bootstrap), track_caller)]
+    #[track_caller]
     fn index(self, slice: &T) -> &Self::Output;
 
     /// Returns a mutable reference to the output at this location, panicking
     /// if out of bounds.
     #[unstable(feature = "slice_index_methods", issue = "none")]
-    #[cfg_attr(not(bootstrap), track_caller)]
+    #[track_caller]
     fn index_mut(self, slice: &mut T) -> &mut Self::Output;
 }