diff options
author | SoniEx2 <endermoneymod@gmail.com> | 2022-12-04 16:43:07 -0300 |
---|---|---|
committer | SoniEx2 <endermoneymod@gmail.com> | 2022-12-04 16:43:07 -0300 |
commit | 72519f2161672a2edcd393a41f9f2cd01eddc22f (patch) | |
tree | e23cf5aae200616435d17970366834126f6e34cc /tests/trybuild.rs | |
parent | ba97c812bd97c9a086aea5b3ce89c87e4b0222ec (diff) |
Use a wrapper struct to enable closures
Diffstat (limited to 'tests/trybuild.rs')
-rw-r--r-- | tests/trybuild.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/trybuild.rs b/tests/trybuild.rs new file mode 100644 index 0000000..870c2f9 --- /dev/null +++ b/tests/trybuild.rs @@ -0,0 +1,5 @@ +#[test] +fn ui() { + let t = trybuild::TestCases::new(); + t.compile_fail("tests/ui/*.rs"); +} |