-
Notifications
You must be signed in to change notification settings - Fork 137
Conversation
I don't understand why CI still fails, this PR now does not touch the lockfile? |
I thought it might have been a cache thing but it wasn't. @alexcrichton looks like backtrace doesn't work on Rust 1.18 any more, which breaks failure's CI. |
Closing in favor of #279, which was first. |
} else { Ok(()) } | ||
} | ||
} | ||
|
||
impl Display for Backtrace { | ||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { | ||
if let Some(bt) = self.internal.as_backtrace() { | ||
bt.fmt(f) | ||
Debug::fmt(bt, f) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@RalfJung I think this should be Display
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would require bumping the minimal version of backtrace, though.
And anyway I closed this PR because #279 does the same thing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, yeah, I was trying to answer: #279 (comment)
But I didn't know about the minimal version requirement.
There's a
Display
instance now, sobt.fmt
is ambiguous.Cc rust-lang/rust#56718