diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-08-18 23:24:25 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2018-08-28 20:40:14 +0200 |
| commit | da4febd51e96f312f80f1c8cc7c7d65b00c50df6 (patch) | |
| tree | d572825506f7d0780f8da8a2184b74ee9477a8ff /src/libcore | |
| parent | afd0a2f2499ff66e74236c5b06d3ab9ab87dd3d3 (diff) | |
| download | rust-da4febd51e96f312f80f1c8cc7c7d65b00c50df6.tar.gz rust-da4febd51e96f312f80f1c8cc7c7d65b00c50df6.zip | |
Add partialeq implementation for TryFromIntError type
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/num/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/num/mod.rs b/src/libcore/num/mod.rs index eb63966354b..cfcdbc5a76a 100644 --- a/src/libcore/num/mod.rs +++ b/src/libcore/num/mod.rs @@ -4248,7 +4248,7 @@ from_str_radix_int_impl! { isize i8 i16 i32 i64 i128 usize u8 u16 u32 u64 u128 } /// The error type returned when a checked integral type conversion fails. #[unstable(feature = "try_from", issue = "33417")] -#[derive(Debug, Copy, Clone)] +#[derive(Debug, Copy, Clone, PartialEq, Eq)] pub struct TryFromIntError(()); impl TryFromIntError { |
