зеркало из https://github.com/mozilla/gecko-dev.git
4.6 KiB
4.6 KiB
Unreleased
0.11.0
- Change last rust version supported to 1.14
- Cache whether RUST_BACKTRACE is enabled in a relaxed atomic static.
- Mask the
quick_error
macro from the doc - Make generated
ErrorKind
enums non-exhaustive - All 0.11.0-rc.2 changes
0.11.0-rc.2
- Make
ErrorChainIter
's field private - Rename
ErrorChainIter
toIter
- Implement
Debug
forErrorChainIter
- Rename
ChainedError::display
todisplay_chain
- Add a new method for
Error
:chain_err
. - Allow
chain_err
to be used onOption<T>
- Add support for creating an error chain on boxed trait errors (
Box<Error>
) - Remove lint for unused doc comment.
- Hide error_chain_processed macro from documentation.
0.10.0
0.9.0
- Revert Add a
Sync
bound to errors
0.8.1
- Add crates.io category.
0.8.0
0.7.2
- Add
quick_main!
(#88). allow(unused)
for theResult
wrapper.- Minimum rust version supported is now 1.10 on some conditions (#103).
0.7.1
0.7.0
- Rollback several design changes to fix regressions
- New
Variant(Error) #[attrs]
forlinks
andforeign_links
. - Hide implementation details from the doc.
- Always generate
Error::backtrace
.
0.6.2
- Allow dead code.
0.6.1
- Fix wrong trait constraint in ResultExt implementation (#66).
0.6.0
- Conditional compilation for error variants.
- Backtrace generation is now a feature.
- More standard trait implementations for extra convenience.
- Remove ChainErr.
- Remove need to specify
ErrorKind
inlinks {}
. - Add ResultExt trait.
- Error.1 is a struct instead of a tuple.
- Error is now a struct.
- The declarations order is more flexible.
- Way better error reporting when there is a syntax error in the macro call.
Result
generation can be disabled.- At most one declaration of each type can be present.
0.5.0
- Only generate backtraces with RUST_BACKTRACE set
- Fixup matching, disallow repeating "types" section
- Fix tests on stable/beta
- Only deploy docs when tagged
Contributors: benaryorg, Brian Anderson, Georg Brandl
0.4.2
Contributors: Brian Anderson
0.4.1 (yanked)
Contributors: Brian Anderson
0.4.0 (yanked)
Contributors: Brian Anderson, Taylor Cramer
0.3.0
Contributors: Brian Anderson, Taylor Cramer
0.2.2
Contributors: Brian Anderson, Jake Shadle, Nate Mara