mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-17 21:06:15 +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>