rust/compiler/rustc_mir_build
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
..
src Rollup merge of #99140 - TaKO8Ki:implement-is-accessible-span, r=fee1-dead 2022-07-11 15:19:32 +05:30
Cargo.toml Update smallvec to 1.8.1. 2022-06-27 08:48:55 +10:00