error-stack@0.8.0 #8949
TimDiekmann
announced in
Announcements (Libraries)
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What changed
Breaking Changes
Report::frames_mut: the returned iterator handed out&mut Frames with independent lifetimes, so a frame and one of its sources (viaFrame::sources_mut) could be borrowed mutably at the same time — undefined behavior triggerable from safe code, up to segfaults.frames_mutnow takes a visitor closure (FnMut(&mut Frame) -> ControlFlow<()>) instead of returning an iterator, and theFramesMuttype has been removed.Report::downcast_mutis unaffected. (#8946)This discussion was created from the release error-stack@0.8.0.
Beta Was this translation helpful? Give feedback.
All reactions