diff --git a/library/core/src/str/mod.rs b/library/core/src/str/mod.rs index 56517348dc7d2..59eca0ec18c76 100644 --- a/library/core/src/str/mod.rs +++ b/library/core/src/str/mod.rs @@ -2818,5 +2818,5 @@ impl_fn_for_zst! { } // This is required to make `impl From<&str> for Box` and `impl From for Box` not overlap. -#[stable(feature = "rust1", since = "1.0.0")] +#[stable(feature = "error_in_core", since = "1.65.0")] impl !crate::error::Error for &str {}