termination 0.1.2

Library that exposes Termination trait, similar to std::process::Termination.
Documentation
1
2
3
4
5
6
7
8
9
10
#[test]
fn tests() {
    let t = trybuild::TestCases::new();
    t.pass("tests/i32.rs");
    t.pass("tests/never.rs");
    t.compile_fail("tests/not-fn.rs");
    t.compile_fail("tests/not-main.rs");
    t.pass("tests/result.rs");
    t.pass("tests/unit.rs");
}