Rustdoc-Json: Fake span given for auto trait impls #100283
Labels
A-rustdoc-json
Area: Rustdoc JSON backend
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
gives
with a given span of
{"begin": [1, 0], "end": [1, 0], "filename": "bad.rs" }
, which is not correct.I think the span should probably be
None
/null
in this case, which is suported without changing the schema (span: Option<Span>
inrustdoc_json_types::Item
@rustbot modify labels: +T-rustdoc +A-rustdoc-json
The text was updated successfully, but these errors were encountered: