Create a dummy span (for testing/generated code)
()
| 24 | |
| 25 | /// Create a dummy span (for testing/generated code) |
| 26 | pub fn dummy() -> Self { |
| 27 | Self { |
| 28 | start: 0, |
| 29 | end: 0, |
| 30 | file_id: u32::MAX, |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | /// Combine two spans into a single span covering both |
| 35 | pub fn to(self, other: Span) -> Span { |
nothing calls this directly
no outgoing calls
no test coverage detected