rust/tests/ui-fulldeps/session-diagnostic
bors 08fd6f719e Auto merge of #111269 - clubby789:validate-fluent-variables, r=davidtwco
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.
2023-06-28 03:47:02 +00:00
..
diagnostic-derive-doc-comment-field.rs
diagnostic-derive-doc-comment-field.stderr
diagnostic-derive.rs Use translatable diagnostics in rustc_const_eval 2023-06-01 14:45:18 +00:00
diagnostic-derive.stderr Use translatable diagnostics in rustc_const_eval 2023-06-01 14:45:18 +00:00
enforce_slug_naming.rs
enforce_slug_naming.stderr
example.ftl Add test for invalid variables 2023-06-23 14:20:45 +00:00
invalid-variable.rs Add test for invalid variables 2023-06-23 14:20:45 +00:00
subdiagnostic-derive.rs Use translatable diagnostics in rustc_const_eval 2023-06-01 14:45:18 +00:00
subdiagnostic-derive.stderr Use translatable diagnostics in rustc_const_eval 2023-06-01 14:45:18 +00:00