third_party_rust_cxx/tests
David Tolnay a3f6407efa
Expand discriminant overflow error message
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
2020-05-05 10:28:00 -07:00
..
ffi Resolve absurd_extreme_comparisons lint 2020-05-05 10:17:23 -07:00
ui Expand discriminant overflow error message 2020-05-05 10:28:00 -07:00
BUCK Allow .rs.h extension when including generated header 2020-03-17 19:13:22 -07:00
BUILD Allow .rs.h extension when including generated header 2020-03-17 19:13:22 -07:00
compiletest.rs Safe FFI between Rust and C++ 2020-01-08 08:57:24 -08:00
test.rs Expose the enum value to Rust as a field 2020-05-01 14:00:48 -07:00
unique_ptr.rs Add UniquePtr test 2020-04-09 23:44:23 -07:00