#[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"); }