feat: removed feature display-cause

`display-cause` can be turned on with the `{:#}` format specifier
This commit is contained in:
Harald Hoyer 2021-02-02 11:16:48 +01:00 committed by Harald Hoyer
parent b2a62b2f55
commit 4eae3da3c1
Signed by: harald
GPG key ID: 900F3C4971086004
4 changed files with 11 additions and 20 deletions

View file

@ -51,6 +51,10 @@ fn func1() -> ChainResult<(), Func1Error> {
fn main() {
if let Err(e) = func1() {
eprintln!("\nDisplay Error {{}}:\n{}", e);
eprintln!("\nAlternative Display Error {{:#}}:\n{:#}", e);
eprintln!("\nDebug Error {{:?}}:\n{:?}", e);
eprintln!("\nAlternative Debug Error {{:#?}}:\n{:#?}\n", e);