mirror of
https://github.com/openharmony/third_party_rust_rust.git
synced 2026-08-27 20:00:03 -04:00
566743eec4
Validate fluent variable references in tests Closes #101109 Under `cfg(test)`, the `fluent_messages` macro will emit a list of variables referenced by each message and its attributes. The derive attribute will now emit a `#[test]` that checks that each referenced variable exists in the structure it's applied to.