rust/compiler/rustc_resolve/src
bors 8c1fb2eb23 Auto merge of #95697 - klensy:no-strings, r=petrochenkov
refactor: simplify few string related interactions

Few small optimizations:

check_doc_keyword: don't alloc string for emptiness check
check_doc_alias_value: get argument as Symbol to prevent needless string convertions
check_doc_attrs: don't alloc vec, iterate over slice.
replace as_str() check with symbol check
get_single_str_from_tts: don't prealloc string
trivial string to str replace
LifetimeScopeForPath::NonElided use Vec<Symbol> instead of Vec<String>
AssertModuleSource use FxHashSet<Symbol> instead of BTreeSet<String>
CrateInfo.crate_name replace FxHashMap<CrateNum, String> with FxHashMap<CrateNum, Symbol>
2022-04-09 13:15:26 +00:00
..
late check_doc_keyword: don't alloc string for emptiness check 2022-04-08 11:45:57 +03:00
access_levels.rs resolve/metadata: Stop encoding macros as reexports 2022-02-24 22:55:40 +03:00
build_reduced_graph.rs rustdoc: Early doc link resolution fixes and refactorings 2022-04-07 00:19:48 +03:00
check_unused.rs span: move MultiSpan 2022-04-05 07:01:00 +01:00
def_collector.rs ast: Always keep a NodeId in ast::Crate 2022-01-05 17:09:37 +08:00
diagnostics.rs errors: implement fallback diagnostic translation 2022-04-05 07:01:02 +01:00
imports.rs errors: implement fallback diagnostic translation 2022-04-05 07:01:02 +01:00
late.rs format cond 2022-04-04 12:49:02 +09:00
lib.rs rustdoc: Early doc link resolution fixes and refactorings 2022-04-07 00:19:48 +03:00
macros.rs Spellchecking compiler comments 2022-03-30 15:14:15 -04:00