#[test] fn propagate_rejects_unsupported_signatures() { let tests = trybuild::TestCases::new(); tests.pass("tests/ui/enum.rs"); tests.compile_fail("tests/ui/arguments.rs"); tests.compile_fail("tests/ui/const_fn.rs"); tests.compile_fail("tests/ui/duplicate_id.rs"); tests.compile_fail("tests/ui/duplicate_id_across_enums.rs"); tests.compile_fail("tests/ui/missing_id.rs"); tests.compile_fail("tests/ui/missing_return.rs"); tests.compile_fail("tests/ui/non_result.rs"); tests.compile_fail("tests/ui/no_error_report.rs"); tests.compile_fail("tests/ui/struct.rs"); tests.compile_fail("tests/ui/union.rs"); tests.compile_fail("tests/ui/unsafe_fn.rs"); tests.compile_fail("tests/ui/zero_id.rs"); }