mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-18 13:46:55 +00:00
Diagnostics can have multiple primary spans, or have subdiagnostics repeated at multiple locations, so support `Vec<..>` fields in the diagnostic derive which become loops in the generated code. Signed-off-by: David Wood <david.wood@huawei.com>