diff options
| author | Ben Boeckel <mathstuf@gmail.com> | 2019-10-02 08:17:28 -0400 |
|---|---|---|
| committer | Ben Boeckel <mathstuf@gmail.com> | 2019-10-02 08:17:28 -0400 |
| commit | fb80e6c62ea5ae3a19b1b4076f636ced3e3b70d8 (patch) | |
| tree | 05d7f13744fc6727ca9722b5fcba298a890ecc2e | |
| parent | f2023ac599c38a59f86552089e6791c5a73412d3 (diff) | |
| download | rust-fb80e6c62ea5ae3a19b1b4076f636ced3e3b70d8.tar.gz rust-fb80e6c62ea5ae3a19b1b4076f636ced3e3b70d8.zip | |
BacktraceStatus: add Eq impl
See discussion on #53487.
| -rw-r--r-- | src/libstd/backtrace.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/backtrace.rs b/src/libstd/backtrace.rs index 61c42a56071..9f400713a86 100644 --- a/src/libstd/backtrace.rs +++ b/src/libstd/backtrace.rs @@ -113,7 +113,7 @@ pub struct Backtrace { /// The current status of a backtrace, indicating whether it was captured or /// whether it is empty for some other reason. #[non_exhaustive] -#[derive(Debug)] +#[derive(Debug, PartialEq, Eq)] pub enum BacktraceStatus { /// Capturing a backtrace is not supported, likely because it's not /// implemented for the current platform. |
