We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
impl !Error for &str
1 parent 91439ce commit 93319c8Copy full SHA for 93319c8
core/src/str/mod.rs
@@ -2818,5 +2818,5 @@ impl_fn_for_zst! {
2818
}
2819
2820
// This is required to make `impl From<&str> for Box<dyn Error>` and `impl<E> From<E> for Box<dyn Error>` not overlap.
2821
-#[stable(feature = "rust1", since = "1.0.0")]
+#[stable(feature = "error_in_core_neg_impl", since = "1.65.0")]
2822
impl !crate::error::Error for &str {}
0 commit comments