mirror of
https://gitee.com/openharmony/third_party_rust_cxx
synced 2024-11-23 23:29:50 +00:00
a3f6407efa
Renders as: error[cxxbridge]: discriminant overflow on value after 4294967295 ┌─ src/main.rs:11:9 │ 11 │ B, │ ^ discriminant overflow │ = note: explicitly set `= 0` if that is desired outcome This more closely matches rustc's error message, which is: error[E0370]: enum discriminant overflowed --> src/lib.rs:4:5 | 4 | B, | ^ overflowed on value after 255 | = note: explicitly set `B = 0` if that is desired outcome |
||
---|---|---|
.. | ||
ffi | ||
ui | ||
BUCK | ||
BUILD | ||
compiletest.rs | ||
test.rs | ||
unique_ptr.rs |