Stream: project-error-handling

Topic: AssertInfo in PanicInfo


view this post on Zulip Mara (Nov 12 2020 at 21:06):

Here's the PR that I mentioned was in progress in the last meeting: https://github.com/rust-lang/rust/pull/79001

It adds information about an assert into the PanicInfo, such that it can be formatted more nicely by e.g. the test crate's panic handler. This doesn't modify assert!() (yet), but it should also help with allowing nice formatting and colors for that macro once it gets a more advanced implementation.

Haven't reviewed it yet, but it looks promising.


Last updated: Jan 26 2022 at 13:04 UTC