fix(idl_gen_rust): Fix lifetime warning added in Rust 1.89#8709
fix(idl_gen_rust): Fix lifetime warning added in Rust 1.89#8709jtdavis777 merged 4 commits intogoogle:masterfrom
Conversation
Rust 1.89 added a new lifetime-related warning: <https://blog.rust-lang.org/2025/08/07/Rust-1.89.0/#mismatched-lifetime-syntaxes-lint> The Rust code generator currently emits code which trips this warning. This very small PR fixes the issue for the relevant generated functions and for the Rust flexbuffers code. Fixes google#8705
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
I completed the form immediately before submitting the PR, using my Edit: the check is now satisfied. |
|
@jtdavis777 this one seems straight forward to get merged |
|
Will check out tonight. |
|
@fliiiix seems the labeler is still unhappy. Maybe we need to put that one back for now. |
|
#8818 should fix it. |
Rust 1.89 added a new lifetime-related warning:
https://blog.rust-lang.org/2025/08/07/Rust-1.89.0/#mismatched-lifetime-syntaxes-lint
The Rust code generator currently emits code which trips this warning. This very small PR fixes the issue for the relevant generated functions and for the Rust flexbuffers code.
Fixes #8705
Tested as follows:
make -jgoldens/generate_goldens.pycd tests./RustTest.sh