Rollup merge of #64993 - mathstuf:backtrace-status-eq, r=withoutboats
BacktraceStatus: add Eq impl See discussion on #53487. --- Is adding `Copy` too ambitious? It's a "status", so I don't forsee any non-POD data that might go in there, but it would restrict future variants more than `Eq` does. Cc: @withoutboats @abonander
This commit is contained in:
commit
f188879a93
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue