diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-10-13 04:58:45 +0200 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-11-21 14:55:33 +0100 |
| commit | 089229a1935fa9795cfdefa518c8f8c3beb66db8 (patch) | |
| tree | af47f9f8319b41321436ee6d1a6a73b2f7f3e0bd /src/libstd/error.rs | |
| parent | 6eb0627b49edb03d27722cab4d13f92a9a65a1c8 (diff) | |
| download | rust-089229a1935fa9795cfdefa518c8f8c3beb66db8.tar.gz rust-089229a1935fa9795cfdefa518c8f8c3beb66db8.zip | |
Redefine `core::convert::Infallible` as `!`.
Diffstat (limited to 'src/libstd/error.rs')
| -rw-r--r-- | src/libstd/error.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libstd/error.rs b/src/libstd/error.rs index 45f1160ca79..74a9e7c9e33 100644 --- a/src/libstd/error.rs +++ b/src/libstd/error.rs @@ -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 { |
