chore: update rust crate error-stack to 0.6 #114
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.5->0.6Release Notes
hashintel/hash (error-stack)
v0.6.0Compare Source
Features
Report<C>andReport<[C]>to distinguish between a group of related errors and a single error. These errors can still be nested. (#5047)unstableflag, which is used to enable unstable features, these features are not covered by semver and may be modified or removed at any time. (#5181)IntoReporttrait, which is used to determine when a type can be converted to aReport. This allows the usage of errors more idiomatically in traits, such astype Error: IntoReport. (#6738)Breaking Changes
attach[_lazy]toattach_opaque[_with]andattach_printable[_lazy]toattach[_with]. (#7753)Extendis no longer implemented byReport<C>, instead it is implemented onReport<[C]>, either useFromorReport::expandto convert betweenReport<C>intoReport<[C]>. (#5047)extend_onehas been renamed topushand is only implemented onReport<[C]>. (#5047)bail!(report,)has been removed, one must now usebail!(report). This is in preparation for the unstablebail!macro that allows to constructReport<[C]>. (#5047)Deprecations
Context: Usecore::error::Errorinstead (#5533)Result<T, C>: Usecore::result::Result<T, Report<C>>instead (#5533)report!, useIntoReport::into_reportinstead. (#6738)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.