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