Redefine core::convert::Infallible as !.

This commit is contained in:
Mazdak Farrokhzad
2019-10-13 04:58:45 +02:00
parent 6eb0627b49
commit 089229a193
3 changed files with 8 additions and 106 deletions

View File

@@ -551,13 +551,6 @@ impl Error for string::FromUtf16Error {
}
}
#[stable(feature = "str_parse_error2", since = "1.8.0")]
impl Error for string::ParseError {
fn description(&self) -> &str {
match *self {}
}
}
#[stable(feature = "decode_utf16", since = "1.9.0")]
impl Error for char::DecodeUtf16Error {
fn description(&self) -> &str {