#[test]
fn compile_fail() {
let t = trybuild::TestCases::new();
t.compile_fail("tests/compile_fail/sync_fn.rs");
t.compile_fail("tests/compile_fail/self_method.rs");
t.compile_fail("tests/compile_fail/lifetime_params.rs");
t.compile_fail("tests/compile_fail/skip_unknown_param.rs");
#[cfg(not(feature = "rkyv_format"))]
{
t.compile_fail("tests/compile_fail/cached_field_no_clone.rs");
t.compile_fail("tests/compile_fail/skip_field_no_default.rs");
}
#[cfg(feature = "rkyv_format")]
{
t.compile_fail("tests/compile_fail/cached_field_no_clone_rkyv.rs");
t.compile_fail("tests/compile_fail/skip_field_no_default_rkyv.rs");
}
}