error-fatality 0.1.2

Fatality extension to `thiserror::Error`
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// The generated code requires quite a bit of surrounding code to work.
// Please refer to [the examples](examples/dummy.rs) and
// [the minimal usage example](../examples/minimal-example.rs).

#[test]
fn ui_compile_fail() {
    let t = trybuild::TestCases::new();
    t.compile_fail("tests/ui/err-*.rs");
}

#[test]
fn ui_compile_pass() {
    let t = trybuild::TestCases::new();
    t.pass("tests/ui/ok-*.rs");
}