diff --git a/library/alloc/src/string/string.rs b/library/alloc/src/string/string.rs index d27022123ac33..fc1f1d94a23c0 100644 --- a/library/alloc/src/string/string.rs +++ b/library/alloc/src/string/string.rs @@ -2758,14 +2758,6 @@ impl ops::DerefMut for String { } } -/// A type alias for [`Infallible`]. -/// -/// This alias exists for backwards compatibility, and may be eventually deprecated. -/// -/// [`Infallible`]: core::convert::Infallible "convert::Infallible" -#[stable(feature = "str_parse_error", since = "1.5.0")] -pub type ParseError = core::convert::Infallible; - #[cfg(not(no_global_oom_handling))] #[stable(feature = "rust1", since = "1.0.0")] impl FromStr for String {