try_v2 0.4.0

Provides a derive macro for `Try` ([try_trait_v2](https://rust-lang.github.io/rfcs/3058-try-trait-v2.html))
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#![feature(never_type)]
#![feature(try_trait_v2)]
#![feature(try_trait_v2_residual)]

use try_v2::{Try, Try_ConvertResult};

#[derive(Debug, Try, Try_ConvertResult)]
#[must_use]
enum ExitE<E> {
    Ok(E),
    TestsFailed,
    OtherError(String),
}

fn main() {}