Skip to content
This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Commit c006db6

Browse files
authored
Prepare for 12.2 release (#287)
1 parent 1176eaf commit c006db6

File tree

4 files changed

+14
-6
lines changed

4 files changed

+14
-6
lines changed

CHANGELOG.md

100644100755
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
# Unreleased
1+
# 0.12.2
2+
- [allow `Error::description` to be used for rust below 1.42](https://github.com/rust-lang-nursery/error-chain/pull/285)
3+
- [Improvements to has_backtrace_depending_on_env](https://github.com/rust-lang-nursery/error-chain/pull/277)
4+
- Backtrace support now requires rust 1.32.0
25

36
# 0.12.1
47

Cargo.toml

100644100755
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
[package]
22
name = "error-chain"
3-
version = "0.12.1" # remember to update html_root_url
3+
version = "0.12.2" # remember to update html_root_url
44
authors = [ "Brian Anderson <banderson@mozilla.com>",
55
"Paul Colomiets <paul@colomiets.name>",
66
"Colin Kiegel <kiegel@gmx.de>",
7-
"Yamakaky <yamakaky@yamaworld.fr>"]
7+
"Yamakaky <yamakaky@yamaworld.fr>",
8+
"Andrew Gauger <andygauge@gmail.com>"]
89
description = "Yet another error boilerplate library."
910
keywords = ["error"]
1011
categories = ["rust-patterns"]

src/error_chain.rs

100644100755
Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,18 @@ macro_rules! impl_error_chain_cause_or_source {
7373
#[cfg(has_error_description_deprecated)]
7474
#[macro_export(local_inner_macros)]
7575
macro_rules! call_to_deprecated_description {
76-
($e:ident) => { "" };
76+
($e:ident) => {
77+
""
78+
};
7779
}
7880

7981
#[doc(hidden)]
8082
#[cfg(not(has_error_description_deprecated))]
8183
#[macro_export(local_inner_macros)]
8284
macro_rules! call_to_deprecated_description {
83-
($e:ident) => { ::std::error::Error::description($e) };
85+
($e:ident) => {
86+
::std::error::Error::description($e)
87+
};
8488
}
8589

8690
/// Prefer to use `error_chain` instead of this macro.

src/lib.rs

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#![deny(missing_docs)]
2-
#![doc(html_root_url = "https://docs.rs/error-chain/0.12.1")]
2+
#![doc(html_root_url = "https://docs.rs/error-chain/0.12.2")]
33

44
//! A library for consistent and reliable error handling
55
//!

0 commit comments

Comments
 (0)