#[test]
fn structural_matcher_compile_errors() {
let t = trybuild::TestCases::new();
t.compile_fail("tests/ui/missing_field_without_rest.rs");
t.compile_fail("tests/ui/unknown_field.rs");
t.compile_fail("tests/ui/rest_not_last.rs");
}
#[test]
fn sync_satisfies_is_not_callable_on_a_future_subject() {
let t = trybuild::TestCases::new();
t.compile_fail("tests/ui/sync_satisfies_on_future.rs");
}
#[test]
fn test_case_attribute_compile_errors() {
let t = trybuild::TestCases::new();
t.compile_fail("tests/ui/test_case_wrong_arity.rs");
t.compile_fail("tests/ui/test_case_trailing_garbage.rs");
t.compile_fail("tests/ui/test_case_missing_label.rs");
}
#[test]
fn fixture_attribute_compile_errors() {
let t = trybuild::TestCases::new();
t.compile_fail("tests/ui/fixture_with_params.rs");
t.compile_fail("tests/ui/fixture_bad_scope.rs");
}