mirror of
https://github.com/allankoechke/rust.git
synced 2026-11-30 11:05:36 +00:00
By making it ignore the parent field of spans within the diagnostic. This is done with a new `DedupHashEncoder` type that uses the existing `Encoder`/`SpanEncoder` traits to traverse the fields within `DiagInner` and `Subdiag`. Fixes #162901.