anyhow 1.0.65

Flexible concrete Error type built on std::error::Error
Documentation
#![deny(unused_must_use)]

use anyhow::anyhow;

fn main() -> anyhow::Result<()> {
    if true {
        // meant to write bail!
        anyhow!("it failed");
    }
    Ok(())
}