]> git.lizzy.rs Git - rust.git/blobdiff - library/core/src/str/error.rs
Rollup merge of #101293 - compiler-errors:lt-is-actually-char, r=estebank
[rust.git] / library / core / src / str / error.rs
index 343889b6999fae8ce24eaf70b0fc5a03b4a21d85..a11b5add42ebf06d29cd6e92908927e2e28e95d9 100644 (file)
@@ -1,6 +1,5 @@
 //! Defines utf8 error type.
 
-#[cfg(not(bootstrap))]
 use crate::error::Error;
 use crate::fmt;
 
@@ -124,7 +123,6 @@ fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
     }
 }
 
-#[cfg(not(bootstrap))]
 #[stable(feature = "rust1", since = "1.0.0")]
 impl Error for Utf8Error {
     #[allow(deprecated)]
@@ -148,7 +146,6 @@ fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
     }
 }
 
-#[cfg(not(bootstrap))]
 #[stable(feature = "rust1", since = "1.0.0")]
 impl Error for ParseBoolError {
     #[allow(deprecated)]