about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-10-03 02:08:53 +0000
committerbors <bors@rust-lang.org>2019-10-03 02:08:53 +0000
commitc6293e359848c8c7275330719b33ccd168df04c3 (patch)
treee57fb077f12e3c6f5e1991e93a873d361a814ea9 /src/libstd
parent2daa404e9a151a2e8262cbd6d8c209fd067aca16 (diff)
parentd5a0765f44069d3f56bb91e7b5ba09514f2acffb (diff)
downloadrust-c6293e359848c8c7275330719b33ccd168df04c3.tar.gz
rust-c6293e359848c8c7275330719b33ccd168df04c3.zip
Auto merge of #65038 - Centril:rollup-m83dpfh, r=Centril
Rollup of 7 pull requests

Successful merges:

 - #63678 (Improve HRTB error span when -Zno-leak-check is used)
 - #64931 (Reword E0392 slightly)
 - #64959 (syntax: improve parameter without type suggestions)
 - #64975 (Implement Clone::clone_from for LinkedList)
 - #64993 (BacktraceStatus: add Eq impl)
 - #64998 (Filter out RLS output directories on tidy runs)
 - #65010 (Compare `primary` with maximum of `children`s' line num instead of dropping it)

Failed merges:

r? @ghost
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/backtrace.rs2
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.