mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-03 01:02:38 +03:00
fdf8543cf6
Before this change, encoding an object containing a codemap::span
using the JSON encodeng produced invalid JSON, for instance:
[{"span":,"global":false,"idents":["abc"]}]
Since the decoder for codemap::span's ignores its argument, I
conjecture that this will not damage decoding, and should improve
it for many decoders.