]> git.lizzy.rs Git - rust.git/blobdiff - library/core/src/error.rs
Add get_many_mut methods to slice
[rust.git] / library / core / src / error.rs
index b24ca037d1afc3e5cd094f774c00be678a9f7e28..7152300abcbf3a446cca031d797040d23abb2353 100644 (file)
@@ -493,7 +493,7 @@ fn description(&self) -> &str {
     }
 }
 
-#[stable(feature = "duration_checked_float", since = "CURRENT_RUSTC_VERSION")]
+#[stable(feature = "duration_checked_float", since = "1.66.0")]
 impl Error for crate::time::TryFromFloatSecsError {}
 
 #[stable(feature = "frombyteswithnulerror_impls", since = "1.17.0")]
@@ -506,3 +506,6 @@ fn description(&self) -> &str {
 
 #[unstable(feature = "cstr_from_bytes_until_nul", issue = "95027")]
 impl Error for crate::ffi::FromBytesUntilNulError {}
+
+#[unstable(feature = "get_many_mut", issue = "104642")]
+impl<const N: usize> Error for crate::slice::GetManyMutError<N> {}