diff options
Diffstat (limited to 'third_party/rust/uniffi/tests/ui/version_mismatch.rs')
-rw-r--r-- | third_party/rust/uniffi/tests/ui/version_mismatch.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/third_party/rust/uniffi/tests/ui/version_mismatch.rs b/third_party/rust/uniffi/tests/ui/version_mismatch.rs new file mode 100644 index 0000000000..6a7edb891d --- /dev/null +++ b/third_party/rust/uniffi/tests/ui/version_mismatch.rs @@ -0,0 +1,4 @@ +// This should fail with a version mismatch. +uniffi::assert_compatible_version!("0.0.1"); // An error message would go here. + +fn main() {} |