diff --git a/library/std/src/error.rs b/library/std/src/error.rs index 8fd9f09b9de75..4ff60709b2079 100644 --- a/library/std/src/error.rs +++ b/library/std/src/error.rs @@ -506,7 +506,7 @@ impl Error for Box { } } -#[stable(feature = "error_by_ref", since = "1.49.0")] +#[stable(feature = "error_by_ref", since = "1.51.0")] impl<'a, T: Error + ?Sized> Error for &'a T { #[allow(deprecated, deprecated_in_future)] fn description(&self) -> &str {