1 2 3 4 5 6
#[test] fn test_macro_compilation() { let t = trybuild::TestCases::new(); t.pass("tests/pass/*.rs"); t.compile_fail("tests/fail/*.rs"); }