This repository was archived by the owner on Aug 16, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +17
-10
lines changed Expand file tree Collapse file tree 4 files changed +17
-10
lines changed Original file line number Diff line number Diff line change 1
1
# Unreleased
2
2
3
+ # 0.12.1
4
+
5
+ - [ ` std::error::Error::cause ` deprecation update] ( https://github.com/rust-lang-nursery/error-chain/pull/255 )
6
+ - [ Macro invocations use 2018 style] ( https://github.com/rust-lang-nursery/error-chain/pull/253 )
7
+
3
8
# 0.12.0
4
9
5
10
- [ Remove ` impl Deref<Kind> for Error ` ] ( https://github.com/rust-lang-nursery/error-chain/pull/192 )
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " error-chain"
3
- version = " 0.12.0 " # remember to update html_root_url
3
+ version = " 0.12.1-rc.1 " # remember to update html_root_url
4
4
authors = [ " Brian Anderson <banderson@mozilla.com>" ,
5
5
" Paul Colomiets <paul@colomiets.name>" ,
6
6
" Colin Kiegel <kiegel@gmx.de>" ,
Original file line number Diff line number Diff line change 1
- // From https://github.com/tailhook/quick-error
2
- // Changes:
3
- // - replace `impl Error` by `impl Item::description`
4
- // - $imeta
1
+ /// From https://github.com/tailhook/quick-error
2
+ /// Changes:
3
+ /// - replace `impl Error` by `impl Item::description`
4
+ /// - $imeta
5
5
6
- // Because of the `#[macro_export(local_inner_macros)]` usage on `impl_error_chain_kind` that macro
7
- // will only look inside this crate for macros to invoke. So using `stringify` or `write` from
8
- // the standard library will fail. Thus we here create simple wrappers for them that are not
9
- // exported as `local_inner_macros`, and thus they can in turn use the standard library macros.
6
+ /// Because of the `#[macro_export(local_inner_macros)]` usage on `impl_error_chain_kind` that macro
7
+ /// will only look inside this crate for macros to invoke. So using `stringify` or `write` from
8
+ /// the standard library will fail. Thus we here create simple wrappers for them that are not
9
+ /// exported as `local_inner_macros`, and thus they can in turn use the standard library macros.
10
10
#[ macro_export]
11
11
macro_rules! stringify_internal {
12
12
( $( $t: tt) * ) => { stringify!( $( $t) * ) }
13
13
}
14
+
15
+ /// Macro used interally for output expanding an expression
14
16
#[ macro_export]
15
17
macro_rules! write_internal {
16
18
( $dst: expr, $( $arg: tt) * ) => ( write!( $dst, $( $arg) * ) )
Original file line number Diff line number Diff line change 1
1
#![ deny( missing_docs) ]
2
- #![ doc( html_root_url = "https://docs.rs/error-chain/0.12.0 " ) ]
2
+ #![ doc( html_root_url = "https://docs.rs/error-chain/0.12.1-rc.1 " ) ]
3
3
4
4
//! A library for consistent and reliable error handling
5
5
//!
You can’t perform that action at this time.
0 commit comments