#[test]
fn ui() {
let t = trybuild::TestCases::new();
t.compile_fail("tests/ui/only_semicolon.rs");
t.compile_fail("tests/ui/missing_colon.rs");
t.compile_fail("tests/ui/trait_path_no_ident.rs");
t.compile_fail("tests/ui/path_prefix_mismatch.rs");
t.compile_fail("tests/ui/num_as_left_operand.rs");
t.compile_fail("tests/ui/directive_bad_follow.rs");
t.compile_fail("tests/ui/fill_empty_args.rs");
t.compile_fail("tests/ui/fill_bad_comma.rs");
t.compile_fail("tests/ui/single_name_not_found.rs");
t.compile_fail("tests/ui/delegate_on_non_fn.rs");
t.compile_fail("tests/ui/delegate_pattern_arg.rs");
t.compile_fail("tests/ui/empty_range.rs");
t.compile_fail("tests/ui/dangling_operator.rs");
t.compile_fail("tests/ui/leading_operator.rs");
t.compile_fail("tests/ui/leading_comma.rs");
t.compile_fail("tests/ui/unsafe_non_fn.rs");
t.compile_fail("tests/ui/minus_bad_target.rs");
t.compile_fail("tests/ui/minus_empty.rs");
t.compile_fail("tests/ui/rename_bound.rs");
t.compile_fail("tests/ui/rename_ref.rs");
t.compile_fail("tests/ui/expand_limit.rs");
t.compile_fail("tests/ui/where_missing_body.rs");
t.pass("tests/ui/pass/basic.rs");
}