diff options
Diffstat (limited to 'vendor/thiserror/tests/compiletest.rs')
-rw-r--r-- | vendor/thiserror/tests/compiletest.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vendor/thiserror/tests/compiletest.rs b/vendor/thiserror/tests/compiletest.rs new file mode 100644 index 000000000..641d03cbf --- /dev/null +++ b/vendor/thiserror/tests/compiletest.rs @@ -0,0 +1,8 @@ +#![deny(clippy::all, clippy::pedantic)] + +#[rustversion::attr(not(nightly), ignore)] +#[test] +fn ui() { + let t = trybuild::TestCases::new(); + t.compile_fail("tests/ui/*.rs"); +} |