X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=library%2Fcore%2Fsrc%2Fstr%2Fmod.rs;h=fbc0fc397a5dfd0b1c41a546ba05af96bef6f970;hb=46244f335b5262ef9bdc34cc564b4dea221948f6;hp=f673aa2a44b1023ee612a5e355ad4bbc59e25074;hpb=3f377d3f9670b28abb8b52b3e69b8d76f2eb2c42;p=rust.git diff --git a/library/core/src/str/mod.rs b/library/core/src/str/mod.rs index f673aa2a44b..fbc0fc397a5 100644 --- a/library/core/src/str/mod.rs +++ b/library/core/src/str/mod.rs @@ -2642,5 +2642,4 @@ struct UnsafeBytesToStr impl<'a> Fn = |bytes: &'a [u8]| -> &'a str { } #[stable(feature = "rust1", since = "1.0.0")] -#[cfg(not(bootstrap))] impl !crate::error::Error for &str {}