feat(errors): add stable error propagation
This commit is contained in:
1 parent
97acb2a2d7
commit
ba9c97ed3b
34 files changed
+1007
No files matched your search
@@ -0,0 +1,17 @@
|
||||
#[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");
|
||||
}
|
||||
Reference in new issue
Block a user