08fd6f719e
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. |
||
---|---|---|
.. | ||
diagnostic-derive-doc-comment-field.rs | ||
diagnostic-derive-doc-comment-field.stderr | ||
diagnostic-derive.rs | ||
diagnostic-derive.stderr | ||
enforce_slug_naming.rs | ||
enforce_slug_naming.stderr | ||
example.ftl | ||
invalid-variable.rs | ||
subdiagnostic-derive.rs | ||
subdiagnostic-derive.stderr |