mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-15 00:37:04 +00:00

Following the approach taken in earlier commits to separate formatting initialization from use in the subdiagnostic derive, simplify the diagnostic derive by removing the field-ordering logic that previously solved this problem. Signed-off-by: David Wood <david.wood@huawei.com>