1
0
Fork 0
firefox/third_party/rust/uniffi/tests/ui/version_mismatch.stderr
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

7 lines
525 B
Text

error[E0080]: evaluation of constant value failed
--> tests/ui/version_mismatch.rs:2:1
|
2 | uniffi::assert_compatible_version!("0.0.1"); // An error message would go here.
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ attempt to compute `0_usize - 1_usize`, which would overflow
|
= note: this error originates in the macro `uniffi::deps::static_assertions::const_assert` which comes from the expansion of the macro `uniffi::assert_compatible_version` (in Nightly builds, run with -Z macro-backtrace for more info)