rust/compiler
Dylan DPC 9fc297a2ae
Rollup merge of #99140 - TaKO8Ki:implement-is-accessible-span, r=fee1-dead
Implement `SourceMap::is_span_accessible`

This patch adds `SourceMap::is_span_accessible` and replaces `span_to_snippet(span).is_ok()` and `span_to_snippet(span).is_err()` with it. This removes a `&str` to `String` conversion.
2022-07-11 15:19:32 +05:30
..
2022-07-02 23:30:03 +01:00
2022-07-11 16:51:19 +09:00
2022-07-06 06:41:53 +01:00
2022-07-06 06:41:53 +01:00