#[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/deep_nesting.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/rename_where.rs");
t.compile_fail("tests/ui/where_const_ref.rs");
t.compile_fail("tests/ui/expand_limit.rs");
t.compile_fail("tests/ui/where_missing_body.rs");
t.compile_fail("tests/ui/const_unknown.rs");
t.compile_fail("tests/ui/const_range_bad.rs");
t.compile_fail("tests/ui/const_cycle.rs");
t.compile_fail("tests/ui/const_forward.rs");
t.compile_fail("tests/ui/const_bare_endpoint.rs");
t.compile_fail("tests/ui/blanket_ptr.rs");
t.compile_fail("tests/ui/blanket_bad_depth.rs");
t.compile_fail("tests/ui/generic_family_batch_trait.rs");
t.pass("tests/ui/pass/basic.rs");
}