rust/compiler/rustc_resolve/src
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
..
diagnostics Implement the unused_macro_rules lint 2022-05-05 19:13:00 +02:00
late avoid some &str to String conversions 2022-07-10 03:18:56 +09:00
access_levels.rs Make ResolverAstLowering a struct. 2022-06-14 22:44:27 +02:00
build_reduced_graph.rs Auto merge of #98106 - cjgillot:split-definitions, r=michaelwoerister 2022-06-17 10:00:11 +00:00
check_unused.rs Make ResolverAstLowering a struct. 2022-06-14 22:44:27 +02:00
def_collector.rs Make ResolverAstLowering a struct. 2022-06-14 22:44:27 +02:00
diagnostics.rs Rollup merge of #99140 - TaKO8Ki:implement-is-accessible-span, r=fee1-dead 2022-07-11 15:19:32 +05:30
ident.rs Provide a segment res in more cases 2022-06-20 21:27:42 -07:00
imports.rs Avoid unnecessary work in finalize_resolutions_in. 2022-06-29 09:20:32 +10:00
late.rs Check if E0530 is rustc_resolve::late::PatternSource::Match to emit suggestion 2022-07-08 14:06:50 +03:00
lib.rs Check if E0530 is rustc_resolve::late::PatternSource::Match to emit suggestion 2022-07-08 14:06:50 +03:00
macros.rs Auto merge of #98106 - cjgillot:split-definitions, r=michaelwoerister 2022-06-17 10:00:11 +00:00