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