Function without_source_positions
pub fn without_source_positions(schema: &Schema) -> SchemaExpand description
schema with every SourceSpan zeroed.
Two IRs are identical (docs/design/multi-file-schemas.md section 8) when
they are equal after this: positions differ by definition between a split
schema and its concatenated equivalent, and nothing else is excluded.
Declaration order, /// docs and attribute text all still count.
Implemented over the serialized form: every JSON object whose keys are
exactly start, end and line has all three set to 0. SourceSpan
is the only IR type with that shape, which a test in cratestack-parser
pins against a rich schema.