Improve error messages for unsupported fields and types.

1. Preserve the original, field-specific error message when ImportRecord
   propagates an error from ImportFields

2. When ImportFields repors problems with the type of a field, then the
   error message should include the name of the field and should
   propagate the information from ConvertType.  (The type of the field
   will be covered by the propagated information.)

PiperOrigin-RevId: 432430883
2 files changed
tree: edbf680781e02729357685eb4ce8385a15723c1e
  1. lifetime_annotations/
  2. rs_bindings_from_cc/
  3. CODE_OF_CONDUCT
  4. CONTRIBUTING
  5. LICENSE
  6. README.md
README.md

Crubit: C++/Rust Bidirectional Interop Tool

Extremely experimental interop tooling for C++ and Rust.

Please don‘t use, this is an experiment and we don’t yet know where will it pull us. There will be breaking changes without warning. Unfortunately, we can't take contributions at this point.