If you don’t write Rust code using FIDL bindings, you can stop reading.
TL;DR
Rust FIDL bindings will now use SCREAMING_SNAKE_CASE for bits members instead of CamelCase.
No Action Required
You do not need to update existing code. I will fix all existing code in https://fxrev.dev/634125. However, if you have a Rust CL in progress, you might need to manually fix code that refers to bits members.
Background
The FIDL style guide recommends ALL_CAPS for both enum and bits members:
To align with Rust style, we convert enum members to CamelCase when generating Rust bindings. However, we also converted bits members to CamelCase, which was incorrect because bits are associated constants, not enum variants.
This change will switch how we generate bits constants to instead use SCREAMING_SNAKE_CASE, in order to align with Rust style. See https://fxbug.dev/47034 for more details.