try_v2 0.3.3

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
use trybuild::TestCases;

#[test]
fn errors() {
    TestCases::new().compile_fail("tests/compilation/fail_*.rs");
}

#[test]
fn valid() {
    TestCases::new().pass("tests/compilation/pass_*.rs");
}